Ship Class
Class org.rapo.games.astro.Ship
Inheritance
>
BaseObject
>
Ship
Implements a game-specific Ship object.
Extends the BaseObject class.
| Constructor Summary |
|---|
| | Ship(x:Number, y:Number, movie_clip:MovieClip, name:String) |
| Property Summary |
|---|
| String | |
| Boolean | |
| String | |
| Boolean | |
| Boolean | |
| Boolean | |
| Timer | |
| Object | |
| Boolean | |
| Boolean | |
| AudioController | |
| Boolean | |
| Boolean | |
| Boolean | |
| Boolean | |
| Properties inherited from org.rapo.games.BaseObject |
|---|
|
| Method Summary |
|---|
| Void | |
| Void | |
| Void | |
| Void | |
| Void | |
| Void | |
| Void | |
| Void | |
| Void | |
| Void | |
| Void | |
| Void | |
| Methods inherited from org.rapo.games.BaseObject |
|---|
|
Ship
public function Ship(x:Number, y:Number, movie_clip:MovieClip, name:String)
animDone
var animDone:Boolean;
animPrev
var animPrev:String;
multiShot
var multiShot:Boolean;
screenCoords
var screenCoords:Object;
shieldOn
var shieldOn:Boolean;
shieldPlaying
var shieldPlaying:Boolean;
shooting
var shooting:Boolean;
tailGun
var tailGun:Boolean;
thrustOn
var thrustOn:Boolean;
thrustPlaying
var thrustPlaying:Boolean;
die
public function die():Void
doneShooting
public function doneShooting():Void
friction
public function friction():Void
move
public function move():Void
reset
public function reset():Void
rotate
public function rotate(direction:String):Void
setAnimation
public function setAnimation():Void
setShielded
public function setShielded(state:Boolean):Void
shoot
public function shoot():Void
thrust
public function thrust(direction:Number):Void
thrustOff
public function thrustOff():Void
updateCoords
public function updateCoords():Void
Documentation generated by BLDoc Community Edition from B-Line Express.