Interface EnemySpawner

All Known Implementing Classes:
LevelGameArea, SlotMachineArea

public interface EnemySpawner
Minimal interface for spawning enemies. WaveManager depends on this interface so it doesn't need to know the concrete GameArea type.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    spawnRobot(int col, int row, RobotFactory.RobotType robotType)
    Spawn a robot at the specified grid location.
  • Method Details

    • spawnRobot

      void spawnRobot(int col, int row, RobotFactory.RobotType robotType)
      Spawn a robot at the specified grid location.
      Parameters:
      col - grid column
      row - grid row
      robotType - robot type identifier