Uses of Record Class
dev.twilite.game.simulation.model.MoveSpeed
Packages that use MoveSpeed
-
Uses of MoveSpeed in dev.twilite.game.simulation.model
Fields in dev.twilite.game.simulation.model declared as MoveSpeedModifier and TypeFieldDescriptionstatic final MoveSpeedMoveSpeed.CRAWLINGCrawling movement, one step every two ticks.static final MoveSpeedMoveSpeed.RUNNINGRunning movement, two steps per tick.static final MoveSpeedMoveSpeed.WALKINGWalking movement, one step per tick.Methods in dev.twilite.game.simulation.model that return MoveSpeedModifier and TypeMethodDescriptionSimulationOptions.moveSpeed()Returns the value of themoveSpeedrecord component.Methods in dev.twilite.game.simulation.model with parameters of type MoveSpeedModifier and TypeMethodDescriptionReturns a copy with a different movement speed.Constructors in dev.twilite.game.simulation.model with parameters of type MoveSpeedModifierConstructorDescriptionSimulationOptions(int width, int height, int maxTicks, boolean diagonals, MoveSpeed moveSpeed) Creates an instance of aSimulationOptionsrecord class. -
Uses of MoveSpeed in dev.twilite.game.simulation.model.entity
Methods in dev.twilite.game.simulation.model.entity that return MoveSpeedModifier and TypeMethodDescriptionSimulationEntity.moveSpeed()Returns the value of themoveSpeedrecord component.Methods in dev.twilite.game.simulation.model.entity with parameters of type MoveSpeedModifier and TypeMethodDescriptionReturns a copy with a different movement speed.Constructors in dev.twilite.game.simulation.model.entity with parameters of type MoveSpeedModifierConstructorDescriptionSimulationEntity(int id, Rect area, MoveSpeed moveSpeed, int attackRange, int attackCycle, int attackCooldown, int movementBlockTicks, int expiresIn, boolean melee, boolean ignoreEntityCollision, boolean hitsInside, boolean walksToYouAnyway) Creates an instance of aSimulationEntityrecord class.