Last change
on this file was 20, checked in by chronos, 5 years ago |
- Added: Player can undo last move.
- Modified: Optimized code of TGame.CanMove method.
|
File size:
990 bytes
|
Line | |
---|
1 | object FormMain: TFormMain
|
---|
2 | Left = 684
|
---|
3 | Height = 521
|
---|
4 | Top = 307
|
---|
5 | Width = 580
|
---|
6 | Caption = '2048 game'
|
---|
7 | DesignTimePPI = 144
|
---|
8 | Menu = MainMenu1
|
---|
9 | OnClose = FormClose
|
---|
10 | OnCreate = FormCreate
|
---|
11 | OnDestroy = FormDestroy
|
---|
12 | OnKeyUp = FormKeyUp
|
---|
13 | OnPaint = FormPaint
|
---|
14 | OnShow = FormShow
|
---|
15 | LCLVersion = '2.0.2.0'
|
---|
16 | object MainMenu1: TMainMenu
|
---|
17 | left = 325
|
---|
18 | top = 152
|
---|
19 | object MenuItemGame: TMenuItem
|
---|
20 | Caption = 'Game'
|
---|
21 | object MenuItemNew: TMenuItem
|
---|
22 | Action = Core.ANew
|
---|
23 | end
|
---|
24 | object MenuItem2: TMenuItem
|
---|
25 | Action = Core.AUndo
|
---|
26 | end
|
---|
27 | object MenuItem1: TMenuItem
|
---|
28 | Action = Core.ASettings
|
---|
29 | end
|
---|
30 | object MenuItemExit: TMenuItem
|
---|
31 | Action = Core.AExit
|
---|
32 | end
|
---|
33 | end
|
---|
34 | object MenuItemHelp: TMenuItem
|
---|
35 | Caption = 'Help'
|
---|
36 | object MenuItemAbout: TMenuItem
|
---|
37 | Action = Core.AAbout
|
---|
38 | end
|
---|
39 | end
|
---|
40 | end
|
---|
41 | object TimerDraw: TTimer
|
---|
42 | Interval = 20
|
---|
43 | OnTimer = TimerDrawTimer
|
---|
44 | left = 138
|
---|
45 | top = 152
|
---|
46 | end
|
---|
47 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.