mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
e29eb5bbed
This is merely the basics needed to actually implement something.
18 lines
211 B
Text
18 lines
211 B
Text
|
|
// Base class for game screens.
|
|
class GameScreen : Object ui
|
|
{
|
|
virtual bool OnEvent(InputEvent ev)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
virtual bool Tick(int framenum)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
virtual void Draw()
|
|
{
|
|
}
|
|
}
|