{ Copyright 2022-2022 Michalis Kamburelis. This file is part of "Castle Game Engine". "Castle Game Engine" is free software; see the file COPYING.txt, included in this distribution, for details about the copyright. "Castle Game Engine" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ---------------------------------------------------------------------------- } { Test 2D physics. } unit GameViewTest2D; interface uses Classes, CastleVectors, CastleUIControls, CastleControls, CastleKeysMouse; type TViewTest2D = class(TCastleView) published { Components designed using CGE editor. These fields will be automatically initialized at Start. } // ButtonXxx: TCastleButton; public constructor Create(AOwner: TComponent); override; procedure Start; override; end; var ViewTest2D: TViewTest2D; implementation constructor TViewTest2D.Create(AOwner: TComponent); begin inherited; DesignUrl := 'castle-data:/gameviewtest2d.castle-user-interface'; end; procedure TViewTest2D.Start; begin inherited; end; end.