mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 09:14:50 +00:00
FFDec Library is now LGPLv3, others stay GPLv3. Version changed to 3.0.0 for FFDec, 1.0.0 for FFDec Library.
28 lines
402 B
ActionScript
28 lines
402 B
ActionScript
class Ship implements Moving{
|
|
var y;
|
|
var a;
|
|
var b;
|
|
var c;
|
|
private var d=5;
|
|
// constructor
|
|
function Ship(py:Number){
|
|
y = py;
|
|
}
|
|
function moveUp(uy:Number){
|
|
y *= uy;
|
|
trace("moveUp = "+y);
|
|
}
|
|
function moveDown(dy:Number){
|
|
y *= dy;
|
|
trace("moveDown = "+y);
|
|
}
|
|
function moveLeft(lx:Number){
|
|
// empty
|
|
b = 6;
|
|
}
|
|
function moveRight(rx:Number){
|
|
// empty
|
|
trace(a);
|
|
trace(d);
|
|
}
|
|
} |