Package com.csse3200.game.areas
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 TypeMethodDescriptionvoid
spawnRobot
(int col, int row, RobotFactory.RobotType robotType) Spawn a robot at the specified grid location.
-
Method Details
-
spawnRobot
Spawn a robot at the specified grid location.- Parameters:
col
- grid columnrow
- grid rowrobotType
- robot type identifier
-