Exemplo n.º 1
0
 public Laser(Directions initialDirection, LaserColours initialColour, int initialFrame)
     : base(true, initialFrame)
 {
     CurrentDirection = initialDirection;
     CurrentColour = initialColour;
     Killed = false;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Set the current direction of the laser. This method is used during
 /// the TracePath method.
 /// </summary>
 /// <param name="direction"></param>
 public void SetDirection(Directions direction)
 {
     CurrentDirection = direction;
 }