Interface Controllable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void walk​(boolean up, boolean down, boolean left, boolean right, float walkingspeed, float dt)
      Lets the object walk.
    • Method Detail

      • walk

        void walk​(boolean up,
                  boolean down,
                  boolean left,
                  boolean right,
                  float walkingspeed,
                  float dt)
        Lets the object walk. Replaces the horizontal movement.
        Parameters:
        up - move up?
        down - move down?
        left - move left?
        right - move right?
        walkingspeed - the higher the speed the bigger the steps. Should be in m/s.
        dt -