Example #1
0
        public void SetUp()
        {
            PacManSprites sprites = new PacManSprites();

            parser = new MapParser(new LevelFactory(sprites, new GhostFactory(
                                                        sprites)), new BoardFactory(sprites));
        }
Example #2
0
 public PlayerFactory(PacManSprites spriteStore)
 {
     this.sprites = spriteStore;
 }
Example #3
0
 public LevelFactory(PacManSprites spriteStore, GhostFactory ghostFactory)
 {
     this.sprites    = spriteStore;
     this.ghostIndex = -1;
     this.ghostFact  = ghostFactory;
 }
Example #4
0
 public GhostFactory(PacManSprites spriteStore)
 {
     this.sprites = spriteStore;
 }
Example #5
0
 public BoardFactory(PacManSprites spriteStore)
 {
     this.sprites = spriteStore;
 }