public MainWindow()
 {
     InitializeComponent();
     instatiate_Timer();
     GUI_and_KeyBoard_Responses();
     walls = new Walls(Board);
 }
Beispiel #2
0
 public Food(Canvas Board, Walls wall)
 {
     theWall2   = wall.theWall2;
     this.Board = Board;
     w          = wall;
     theWall    = wall.theWall;
     theFood    = new List <Ellipse>();
     vert_Food  = new List <Ellipse>();
     horr_food  = new List <List <Ellipse> >();
 }
Beispiel #3
0
 public Player(Canvas Board)
 {
     direction        = 3;
     pacman_eat_ghost = false;
     pacman_lives     = 3;
     this.Board       = Board;
     player_All_Pieces();
     player_Build_Up();
     pMan = pMan_Pieces[direction];
     w    = new Walls(Board);
 }
Beispiel #4
0
 public Ghost_Pinky(Canvas Board, Controller control, Constraints constraints, Walls wall) : base(Board, control, constraints, wall)
 {
     this.wall   = wall;
     path        = new List <Button>();
     p_direction = 0;
     top         = false;
     left        = false;
     LEFT        = false;
     RIGHT       = false;
     DOWN        = false;
     TOP         = false;
 }