Documentation ¶
Index ¶
- type Scene
- func (s *Scene) Enter() error
- func (s *Scene) Exit() error
- func (s *Scene) GetGOMap() interfaces.IGOMap
- func (s *Scene) GetMainCamera() interfaces.ICamera
- func (s *Scene) GetPhysSystem() interfaces.IPhysSystem
- func (s *Scene) SetEnterF(enterF interfaces.SceneF)
- func (s *Scene) SetExitF(exitF interfaces.SceneF)
- func (s *Scene) SetMainCamera(cam interfaces.ICamera) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scene ¶
type Scene struct { CurrentMainCamera interfaces.ICamera // contains filtered or unexported fields }
func New ¶
func New(enterF interfaces.SceneF, exitF interfaces.SceneF) *Scene
func (*Scene) GetGOMap ¶
func (s *Scene) GetGOMap() interfaces.IGOMap
func (*Scene) GetMainCamera ¶
func (s *Scene) GetMainCamera() interfaces.ICamera
func (*Scene) GetPhysSystem ¶
func (s *Scene) GetPhysSystem() interfaces.IPhysSystem
func (*Scene) SetEnterF ¶
func (s *Scene) SetEnterF(enterF interfaces.SceneF)
Set ups the Enter() function handler
func (*Scene) SetExitF ¶
func (s *Scene) SetExitF(exitF interfaces.SceneF)
Set ups the Exit() function handler
func (*Scene) SetMainCamera ¶
func (s *Scene) SetMainCamera(cam interfaces.ICamera) error
Click to show internal directories.
Click to hide internal directories.