Main application class. Contains application-wide settings and utilities.
You always need to create one single TAgkApplication instance in your application. You can also derive your own application class from TAgkApplication if you wish. A typical bare-bone application will look like this:
var App: TAgkApplication; begin App := TAgkApplication.Create; App.Title := 'My Application'; // ...etc. set application options App.SetScene(TMyScene); end.
where TMyScene is your TAgkScene descendant class that will contain your initial startup scene.
Note that you do not free the App object. That is done automatically when the application shuts down.
Copyright (c) 2012. All rights reserved.