-
Notifications
You must be signed in to change notification settings - Fork 0
/
Signal.as
59 lines (56 loc) · 1.12 KB
/
Signal.as
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package {
public class Signal {
private var signal:String;
private var string:String;
private var floater:Floater;
private var destroy:Boolean;
private var score:int;
public var index:int;
public function Signal():void {
signal = "null";
score = 0;
}
public function getSignal():String{
return signal;
}
public function setString(s:String):Signal {
string = s;
signal = "String";
return this;
}
public function setFloater(f:Floater):Signal {
floater = f;
signal = "Floater";
return this;
}
public function setDestroy(d:Boolean, f:Floater):Signal {
floater = f;
destroy = d;
signal = "Destroy";
return this;
}
public function setScore(i:int):Signal {
score = i;
return this;
}
public function setIndex(i:int):Signal {
index = i;
return this;
}
public function getString():String {
return string;
}
public function getFloater():Floater {
return floater;
}
public function getDestroy():Boolean {
return destroy;
}
public function getScore():int {
return score;
}
public function getIndex():int {
return index;
}
}
}