123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- package me.hammerle.supersnuvi.entity.components;
- import me.hammerle.supersnuvi.entity.Entity;
- public class Movement
- {
- public final static Movement NULL = new Movement();
-
- public float getVelocityX()
- {
- return 0.0f;
- }
-
- public float getVelocityY()
- {
- return 0.0f;
- }
-
- public boolean canMoveOnTiles()
- {
- return false;
- }
-
- public boolean canMoveOnEntities()
- {
- return false;
- }
-
- public float getJumpPower()
- {
- return 0.0f;
- }
-
- public boolean hasGravity(Entity ent)
- {
- return false;
- }
-
- public float getGravityFactor()
- {
- return 1.0f;
- }
-
- public void setInWater(boolean b)
- {
- }
-
- public boolean isInWater()
- {
- return false;
- }
-
- public void setFrictionFactor(float f)
- {
- }
-
- public float getFrictionFactor()
- {
- return 1.0f;
- }
-
- public boolean isSolid()
- {
- return false;
- }
- }
|