Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ScreenWidth is screen width ScreenWidth = 1080 / 2 // ScreenHeight is screen height ScreenHeight = 1920 / 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Title ¶
type Title struct {
// contains filtered or unexported fields
}
Title represents a scene object for Title
func (*Title) Drive ¶
func (t *Title) Drive()
Drive is called from simra. This is used to update sprites position. This will be called 60 times per sec.
func (*Title) Initialize ¶
Initialize initializes title scene This is called from simra. simra.SetDesiredScreenSize should be called to determine screen size of this scene.
func (*Title) OnTouchBegin ¶
OnTouchBegin is called when Title scene is Touched.
func (*Title) OnTouchEnd ¶
OnTouchEnd is called when Title scene is Touched and it is released.
func (*Title) OnTouchMove ¶
OnTouchMove is called when Title scene is Touched and moved.
Click to show internal directories.
Click to hide internal directories.