Пример #1
0
 private void OnFlickerTimerTick(object sender, EventArgs e)
 {
     _flickFlag = !_flickFlag;
     GUIForm.Invalidate(Rect);
 }
Пример #2
0
 public Obstacle(GUIForm guiForm, Rectangle rect) : base(guiForm, rect)
 {
 }
Пример #3
0
 protected virtual void OnDestroyed(object sender, EventArgs e)
 {
     GUIForm.Invalidate(Rect);
 }
Пример #4
0
 public RecordsForm(GUIForm guiForm, FormsManager formsManager) : base(guiForm, formsManager)
 {
     InitializeComponents();
 }
Пример #5
0
 public Water(GUIForm guiForm, Rectangle rect) : base(guiForm, rect)
 {
 }
Пример #6
0
 public GameOverForm(GUIForm guiForm, FormsManager formsManager) : base(guiForm, formsManager)
 {
 }
Пример #7
0
 public StageNumberForm(GUIForm guiForm, FormsManager formsManager) : base(guiForm, formsManager)
 {
 }
Пример #8
0
 public MenuForm(GUIForm guiForm, FormsManager formManager) : base(guiForm, formManager)
 {
     Components = new LinkedList <GUIObject>();
 }
Пример #9
0
 public PlayerTank(GUIForm guiForm) : base(guiForm)
 {
     Speed = 3;
 }
Пример #10
0
 public Bush(GUIForm guiForm, Rectangle rect) : base(guiForm, rect)
 {
 }
Пример #11
0
 public MovingObject(GUIForm guiForm) : base(guiForm)
 {
     MoveTimer          = new Timer();
     MoveTimer.Interval = 10;
 }
Пример #12
0
 public GameObject(GUIForm guiForm) : base(guiForm)
 {
     Rect = new Rectangle();
 }
Пример #13
0
 public GameObject(GUIForm guiForm, Rectangle rect) : base(guiForm)
 {
     Rect = rect;
 }
Пример #14
0
 public Brick(GUIForm guiForm, Rectangle rect) : base(guiForm, rect)
 {
     _cuttedRect = new Rectangle(0, 0, rect.Width, rect.Height);
 }