public OrangeGhost(Player aPlayer, GameBoard aGameBoard, Vector2 aPosition)
     : base(aPlayer, aGameBoard, aPosition, 3, ConsoleColor.Yellow)
 {
 }
Exemple #2
0
 public RedGhost(Player aPlayer, GameBoard aGameBoard, Vector2 aPosition)
     : base(aPlayer, aGameBoard, aPosition, 0, ConsoleColor.Red)
 {
 }
 public VioletGhost(Player aPlayer, GameBoard aGameBoard, Vector2 aPosition)
     : base(aPlayer, aGameBoard, aPosition, 1)
 {
 }
Exemple #4
0
 public RedGhost(Player aPlayer, GameBoard aGameBoard, Vector2 aPosition)
     : base(aPlayer, aGameBoard, aPosition, 0)
 {
 }
Exemple #5
0
 public OrangeGhost(Player aPlayer, GameBoard aGameBoard, Vector2 aPosition)
     : base(aPlayer, aGameBoard, aPosition, 3)
 {
 }
Exemple #6
0
 public Ghost(Player aPlayer, GameBoard aGameBoard, Vector2 aPosition, int aDefaultFrameYIndex)
     : base("Ghosts", aPosition, 32, 8, 5, 2, 1, 100, aGameBoard, 280)
 {
     myDefaultFrameYIndex = aDefaultFrameYIndex;
     InitializeMemberVariables(aPlayer);
 }
Exemple #7
0
 public Player(GameBoard aGameBoard)
     : base("Pacman", Vector2.Zero, 32, 5, 1, 2, 0, 100, aGameBoard, 200)
 {
     InitializeMemberVariables();
 }
 private void InitializeMemberVariables(int aSize, GameBoard aGameBoard, float aTimePerFrameMilliseconds)
 {
     InitializeParameterMemberVariables(aSize, aGameBoard, aTimePerFrameMilliseconds);
     SetDefaultValuesOnNonParameterMemberVariables();
 }
 public VioletGhost(Player aPlayer, GameBoard aGameBoard, Vector2 aPosition)
     : base(aPlayer, aGameBoard, aPosition, 1, ConsoleColor.DarkMagenta)
 {
 }