public void SetUp() { PacManSprites sprites = new PacManSprites(); parser = new MapParser(new LevelFactory(sprites, new GhostFactory( sprites)), new BoardFactory(sprites)); }
public PlayerFactory(PacManSprites spriteStore) { this.sprites = spriteStore; }
public LevelFactory(PacManSprites spriteStore, GhostFactory ghostFactory) { this.sprites = spriteStore; this.ghostIndex = -1; this.ghostFact = ghostFactory; }
public GhostFactory(PacManSprites spriteStore) { this.sprites = spriteStore; }
public BoardFactory(PacManSprites spriteStore) { this.sprites = spriteStore; }