Package game

Class Action

java.lang.Object
game.Action

public class Action extends Object
You can add more actions here, insert the into the setScenes() item and add to the switch statement
  • Field Details

  • Constructor Details

    • Action

      public Action(int action, Scene scene)
  • Method Details

    • doAction

      public int doAction(Player player)
      carry out action on entry to scene