mobile

package
Version: v1.12.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 1 Imported by: 5

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://ebiten.org/documents/mobile.html.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetGame added in v1.10.0

func SetGame(game 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.

Types

type Game added in v1.10.0

type Game = ebiten.Game

Game defines necessary functions for a mobile game.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL