mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +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()
|
|
{
|
|
}
|
|
}
|