Class SpawnCommand

java.lang.Object
com.csse3200.game.ui.terminal.commands.SpawnCommand
All Implemented Interfaces:
Command

public class SpawnCommand extends Object implements Command
  • Constructor Details

    • SpawnCommand

      public SpawnCommand()
  • Method Details

    • action

      public boolean action(ArrayList<String> args)
      Spawns an entity in the game world.
      Specified by:
      action in interface Command
      Parameters:
      args - command args
      Returns:
      command was successful