Documentation ¶
Index ¶
Constants ¶
View Source
const FRAME_RATE int = 48
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrameRateController ¶
type FrameRateController interface { WaitFrameRate() WaitMillis(millis uint32) }
type SdlFramerateController ¶
type SdlFramerateController int
func NewSdlFrameRateController ¶
func NewSdlFrameRateController(framesPerSecond int) SdlFramerateController
func (SdlFramerateController) WaitFrameRate ¶
func (frameRate SdlFramerateController) WaitFrameRate()
func (SdlFramerateController) WaitMillis ¶
func (frameRate SdlFramerateController) WaitMillis(millis uint32)
Click to show internal directories.
Click to hide internal directories.