Documentation ¶
Overview ¶
Package mobile provides functions for mobile platforms (Android and iOS).
This package is used when you use `ebitenmobile bind`.
For usage, see https://ebitengine.org/en/documents/mobile.html.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetGame ¶
func SetGame(game ebiten.Game)
SetGame sets a mobile game.
SetGame is expected to be called only once.
SetGame can be called anytime. Until SetGame is called, the game does not start.
func SetGameWithOptions ¶ added in v2.5.0
func SetGameWithOptions(game ebiten.Game, options *ebiten.RunGameOptions)
SetGameWithOptions sets a mobile game with the specified options.
SetGameWithOptions is expected to be called only once.
SetGameWithOptions can be called anytime. Until SetGameWithOptions is called, the game does not start.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.