Package game

Class Player

java.lang.Object
game.Player

public class Player extends Object
  • Constructor Details

    • Player

      public Player(Scene scene)
      Start the player off on this scene The scenes should already be prepared
  • Method Details

    • addItem

      public void addItem(Item item)
    • checkForItem

      public boolean checkForItem(Item item)
    • move

      public int move()
    • printFixedWidth

      public void printFixedWidth(String s, int width)