private void TimerTick(object sender, EventArgs args) { if (tickCount == 0) { gameState.BeginAct(); } foreach (var e in gameState.Animations) { e.Location = new Point(e.Location.X + 1 * e.Command.DeltaX, e.Location.Y + 1 * e.Command.DeltaY); } if (tickCount == 7) { gameState.EndAct(); } tickCount++; if (tickCount == 8) { tickCount = 0; } Invalidate(); }