Debian Codegraph @

examples/lazarus/multiple_views/gameviewtest3d.pas

raw
1 {
2 Copyright 2022-2022 Michalis Kamburelis.
3
4 This file is part of "Castle Game Engine".
5
6 "Castle Game Engine" is free software; see the file COPYING.txt,
7 included in this distribution, for details about the copyright.
8
9 "Castle Game Engine" is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13 ----------------------------------------------------------------------------
14 }
15
16 { Test 3D physics. }
17 unit GameViewTest3D;
18
19 interface
20
21 uses Classes,
22 CastleVectors, CastleUIControls, CastleControls, CastleKeysMouse;
23
24 type
25 TViewTest3D = class(TCastleView)
26 published
27 { Components designed using CGE editor.
28 These fields will be automatically initialized at Start. }
29 // ButtonXxx: TCastleButton;
30 public
31 constructor Create(AOwner: TComponent); override;
32 procedure Start; override;
33 end;
34
35 var
36 ViewTest3D: TViewTest3D;
37
38 implementation
39
40 constructor TViewTest3D.Create(AOwner: TComponent);
41 begin
42 inherited;
43 DesignUrl := 'castle-data:/gameviewtest3d.castle-user-interface';
44 end;
45
46 procedure TViewTest3D.Start;
47 begin
48 inherited;
49 end;
50
51 end.