ebiten: github.com/hajimehoshi/ebiten/mobile Index | Files

package mobile

import "github.com/hajimehoshi/ebiten/mobile"

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

Package Files

impl_notmobile.go mobile.go

func SetGame Uses

func SetGame(game Game)

SetGame sets a mobile game.

SetGame is epxected to be called only once.

SetGame can be called anytime. Until SetGame is called, the game does not start.

type Game Uses

type Game = ebiten.Game

Game defines necessary functions for a mobile game.

Package mobile imports 1 packages (graph) and is imported by 2 packages. Updated 2019-11-25. Refresh now. Tools for package owners.