Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnemyClassAirplane = "enemy-airplane" EnemyClassTank = "enemy-tank" EnemyClassTurretBeam = "enemy-turret-beam" EnemyClassTurretMissiles = "enemy-turret-missiles" ObjectClassGroupSpawn = "group-spawn" TilesetClassTiles = "tiles" TilesetClassAirplanes = "airplanes" )
Variables ¶
View Source
var ( AirplanesBlue []*ebiten.Image AirplanesRed []*ebiten.Image AirplanesGreen []*ebiten.Image AirplanesYellow []*ebiten.Image AirplaneGraySmall *ebiten.Image TankBase *ebiten.Image TankGun *ebiten.Image TurretBase *ebiten.Image TurretGunSingle *ebiten.Image TurretGunDouble *ebiten.Image LaserSingle *ebiten.Image Bullet *ebiten.Image Missile *ebiten.Image Health *ebiten.Image WeaponUpgrade *ebiten.Image Shield *ebiten.Image AirplaneShield *ebiten.Image Crosshair *ebiten.Image JoystickBase *ebiten.Image JoystickKnob *ebiten.Image AirBase AirBaseLevel Levels []Level SmallFont font.Face NormalFont font.Face NarrowFont font.Face )
Functions ¶
func MustLoadAssets ¶
func MustLoadAssets()
Types ¶
type AirBaseLevel ¶
type AirBaseLevel struct { Background *ebiten.Image Spawns []Spawn }
type EnemyGroupSpawn ¶
type Level ¶
type Level struct { Background *ebiten.Image Enemies []Enemy EnemyGroupSpawns []EnemyGroupSpawn }
Click to show internal directories.
Click to hide internal directories.