Class AgiKart.KartEntity

java.lang.Object
uno.anahata.asi.swing.games.AgiKart.KartEntity
Enclosing class:
AgiKart

private static class AgiKart.KartEntity extends Object
Data object model for tracking karts.
Author:
anahata
  • Field Details

    • name

      String name
    • x

      double x
    • y

      double y
    • angle

      double angle
    • velocityAngle

      double velocityAngle
    • speed

      double speed
    • maxSpeed

      final double maxSpeed
      See Also:
    • color

      Color color
    • nextCheckpoint

      int nextCheckpoint
    • lap

      int lap
    • distToNext

      double distToNext
    • isSteering

      boolean isSteering
    • steerLeft

      boolean steerLeft
    • steerRight

      boolean steerRight
    • currentItem

      String currentItem
    • rouletteTimer

      int rouletteTimer
    • spinTimer

      int spinTimer
    • boostTimer

      int boostTimer
    • driftTimer

      int driftTimer
    • oilCooldown

      int oilCooldown
  • Constructor Details

    • KartEntity

      KartEntity(String name, double x, double y, Color color)