Пример #1
0
 public Shooter(int Width, int Height)
 {
     X         = Width / 2;
     Y         = Height - 1;
     Velocity  = 1;
     image     = Properties.Resources.tankSTB;
     direction = DirectionGame1.None;
     bullets   = new LinkedList <Bullet>();
     boxes     = new LinkedList <Box>();
 }
Пример #2
0
 public void ChangeDirection(DirectionGame1 NewDirection)
 {
     this.direction = NewDirection;
 }