Strict

Import scene
Import mojo
Import scenemanager
Import constants
Import imagemanager

Class GameOverScene Extends Scene
	Field gameoverImg: Image

	Method New()
		gameoverImg = ImageManager.LoadImg("gameover", 1, Image.MidHandle)
	End

	Method Render:Void()
		DrawImage(gameoverImg, DeviceWidth()/2, DeviceHeight()/2)
	End
	
	Method Update: Void()
		If MouseHit() Or KeyHit(KEY_ENTER) Then SceneManager.GetCurrent().SwitchToScene(SCENE_INTRO)
	End
End
