ae.demo.pewpew.objects

Game objects and logic

Members

Aliases

COLOR
alias COLOR = L16
Undocumented in source.
SpawnParticles
alias SpawnParticles = ParticleManager!SpawnParticle
Undocumented in source.
StarField
alias StarField = ParticleManager!Star
Undocumented in source.
TorpedoParticles
alias TorpedoParticles = ParticleManager!TorpedoParticle
Undocumented in source.

Classes

Enemy
class Enemy
Undocumented in source.
Explosion
class Explosion
Undocumented in source.
Game
class Game
Undocumented in source.
GameEntity
class GameEntity
Undocumented in source.
GameObject
class GameObject
Undocumented in source.
ParticleManager
class ParticleManager(Particle)
Undocumented in source.
PlasmaOrb
class PlasmaOrb
Undocumented in source.
Ship
class Ship
Undocumented in source.
Splode
class Splode
Undocumented in source.
Thingy
class Thingy
Undocumented in source.
ThingyPart
class ThingyPart
Undocumented in source.
ThingySatellite
class ThingySatellite
Undocumented in source.
Torpedo
class Torpedo
Undocumented in source.

Enums

Plane
enum Plane
Undocumented in source.
Sound
enum Sound
Undocumented in source.

Mixins

__anonymous
mixin FixMath
Undocumented in source.

Static functions

cbound
int cbound(int x)
Undocumented in source. Be warned that the author may not have intended to support it.
cf
float cf(float x)
Undocumented in source. Be warned that the author may not have intended to support it.
ci
int ci(float x)
Undocumented in source. Be warned that the author may not have intended to support it.
frand
float frand()
Undocumented in source. Be warned that the author may not have intended to support it.
frands
float frands()
Undocumented in source. Be warned that the author may not have intended to support it.
frands2
float frands2()
Undocumented in source. Be warned that the author may not have intended to support it.
ssqr
T ssqr(T x)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

BLACK
auto BLACK;
Undocumented in source.
STAR_LAYERS
enum STAR_LAYERS;
Undocumented in source.
WHITE
auto WHITE;
Undocumented in source.
analogX
float analogX;
analogY
float analogY;
Undocumented in source.
canvas
Image!COLOR canvas;
down
bool down;
fire
bool fire;
Undocumented in source.
initializing
bool initializing;
left
bool left;
Undocumented in source.
planes
DListContainer!GameEntity[Plane.Max] planes;
right
bool right;
Undocumented in source.
score
int score;
Undocumented in source.
ship
Ship ship;
Undocumented in source.
sounds
Sound[] sounds;
Undocumented in source.
spawnParticles
SpawnParticles spawnParticles;
Undocumented in source.
starFields
StarField[STAR_LAYERS] starFields;
Undocumented in source.
torpedoParticles
TorpedoParticles torpedoParticles;
Undocumented in source.
up
bool up;
Undocumented in source.
useAnalog
bool useAnalog;
Undocumented in source.

Structs

SpawnParticle
struct SpawnParticle
Undocumented in source.
Star
struct Star
Undocumented in source.
TorpedoParticle
struct TorpedoParticle
Undocumented in source.

Mixed In Members

From mixin FixMath

fix
alias fix = SignedBitsType!(COLOR.channelBits + coordinateBits)
Undocumented in source.
frac
alias frac = COLOR.ChannelType
Undocumented in source.
tofix
fix tofix(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
tofix
fix tofix(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
fixfpart
frac fixfpart(fix x)
Undocumented in source. Be warned that the author may not have intended to support it.
tofracBounded
frac tofracBounded(T x)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>