Castle Game Engine: CastleControl: Class TCastle2DControl

# Class TCastle2DControl
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleControl ## Declaration `type TCastle2DControl = class(TCastleControlCustom)` ## Description Render 2D game world and GUI. Add your game stuff, like T2DScene, to the scene manager available in SceneManager property. Add your GUI stuff to the TCastleControlCustom.Controls property (from ancestor TCastleControlCustom). You can directly access the SceneManager and configure it however you like. The difference between this and TCastleControl is that this provides a scene manager descending from T2DSceneManager, which is a little more comfortable for typical 2D games. See T2DSceneManager description for details. In principle, you can use any of these control classes to develop any mix of 3D or 2D game. ## Hierarchy TCustomOpenGLControl TCastleControlCustom TCastle2DControl ## Overview ### Methods
| `constructor Create(AOwner: TComponent); override;`
### Properties
| `property SceneManager: TControl2DSceneManager read FSceneManager;`
## Description ### Methods
| `constructor Create(AOwner: TComponent); override;`
### Properties
| `property SceneManager: TControl2DSceneManager read FSceneManager;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:09