Beispiel #1
0
 public PacmanCharacter(Coordinate spawnPosition, Direction spawnDirection, ICharacterProcessor characterProcessor)
 {
     Position           = spawnPosition;
     Direction          = spawnDirection;
     RenderSymbol       = GetRenderSymbolFromDirection(spawnDirection);
     CharacterProcessor = characterProcessor;
 }
Beispiel #2
0
 public DumbGhostCharacter(Coordinate spawnPosition, Direction spawnDirection, ICharacterProcessor characterProcessor, GameState gameState)
 {
     Position           = spawnPosition;
     Direction          = spawnDirection;
     RenderSymbol       = 'G';
     CharacterProcessor = characterProcessor;
     GameState          = gameState;
 }