ae ~master (2024-01-05T13:09:51Z)
Home
Dub
Repo
GameObject
ae
demo
pewpew
objects
Undocumented in source.
__gshared
class
GameObject :
GameEntity
{
float
x
;
float
y
;
float
vx
;
float
vy
;
Shape
!
float
[]
shapes
;
bool
dead
;
enum
DEATHBRAKES
;
void
step
(uint deltaTicks);
void
collideWith
(Plane[] planeIndices);
void
die
();
}
Members
Functions
collideWith
void
collideWith
(Plane[] planeIndices)
Undocumented in source. Be warned that the author may not have intended to support it.
die
void
die
()
Undocumented in source. Be warned that the author may not have intended to support it.
step
void
step
(uint deltaTicks)
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
DEATHBRAKES
enum
DEATHBRAKES
;
Undocumented in source.
Variables
dead
bool
dead
;
Undocumented in source.
shapes
Shape
!
float
[]
shapes
;
shape coordinates are relative to x,y
vx
float
vx
;
vy
float
vy
;
Undocumented in source.
x
float
x
;
y
float
y
;
Undocumented in source.
Inherited Members
From GameEntity
__anonymous
mixin
DListLink
Undocumented in source.
plane
Plane
plane
;
Undocumented in source.
step
void
step
(uint deltaTicks)
Undocumented in source.
render
void
render
()
Undocumented in source.
add
void
add
(Plane plane)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void
remove
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
ae
demo
pewpew
objects
aliases
COLOR
SpawnParticles
StarField
TorpedoParticles
classes
Enemy
Explosion
Game
GameEntity
GameObject
ParticleManager
PlasmaOrb
Ship
Splode
Thingy
ThingyPart
ThingySatellite
Torpedo
enums
Plane
Sound
mixins
__anonymous
static functions
cbound
cf
ci
frand
frands
frands2
ssqr
static variables
BLACK
STAR_LAYERS
WHITE
analogX
analogY
canvas
down
fire
initializing
left
planes
right
score
ship
sounds
spawnParticles
starFields
torpedoParticles
up
useAnalog
structs
SpawnParticle
Star
TorpedoParticle