summary refs log tree commit diff stats
path: root/src/com/fourisland
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-02-07 18:04:40 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-02-07 18:04:40 -0500
commit3c297e080145cac7be4badd3b1cd89928da73d9a (patch)
tree15f911d9d4d18f72a2cabc351c4e0c84dfdc03a6 /src/com/fourisland
parent7125747297343872ca4cc64baa2e6cc3769ab5c3 (diff)
downloadfourpuzzle-3c297e080145cac7be4badd3b1cd89928da73d9a.tar.gz
fourpuzzle-3c297e080145cac7be4badd3b1cd89928da73d9a.tar.bz2
fourpuzzle-3c297e080145cac7be4badd3b1cd89928da73d9a.zip
Removed unnessecary functions from PossibleEvent
Diffstat (limited to 'src/com/fourisland')
-rw-r--r--src/com/fourisland/fourpuzzle/gamestate/mapview/event/PossibleEvent.java46
1 files changed, 8 insertions, 38 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/PossibleEvent.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/PossibleEvent.java index 9deb0b1..931c6ca 100644 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/PossibleEvent.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/PossibleEvent.java
@@ -26,8 +26,8 @@ public class PossibleEvent {
26 private MovementType movement; 26 private MovementType movement;
27 private EventCallTime calltime; 27 private EventCallTime calltime;
28 private EventCall callback; 28 private EventCall callback;
29 private ArrayList<Precondition> preconditions = new ArrayList<Precondition>();
30 29
30 private ArrayList<Precondition> preconditions = new ArrayList<Precondition>();
31 private Direction direction = Direction.South; 31 private Direction direction = Direction.South;
32 private int animationStep = 1; 32 private int animationStep = 1;
33 33
@@ -98,7 +98,7 @@ public class PossibleEvent {
98 } 98 }
99 99
100 private boolean aSLC = false; 100 private boolean aSLC = false;
101 EventGraphic getGraphic() 101 public EventGraphic getGraphic()
102 { 102 {
103 if (animation.isAlwaysStepping()) 103 if (animation.isAlwaysStepping())
104 { 104 {
@@ -119,41 +119,21 @@ public class PossibleEvent {
119 return graphic; 119 return graphic;
120 } 120 }
121 121
122 void setGraphic(EventGraphic graphic) 122 public Layer getLayer()
123 {
124 this.graphic = graphic;
125 }
126
127 Layer getLayer()
128 { 123 {
129 return layer; 124 return layer;
130 } 125 }
131 126
132 void setLayer(Layer layer) 127 public AnimationType getAnimation()
133 {
134 this.layer = layer;
135 }
136
137 AnimationType getAnimation()
138 { 128 {
139 return animation; 129 return animation;
140 } 130 }
141 131
142 void setAnimation(AnimationType animation) 132 public MovementType getMovement()
143 {
144 this.animation = animation;
145 }
146
147 MovementType getMovement()
148 { 133 {
149 return movement; 134 return movement;
150 } 135 }
151 136
152 void setMovement(MovementType movement)
153 {
154 this.movement = movement;
155 }
156
157 Direction getDirection() 137 Direction getDirection()
158 { 138 {
159 return direction; 139 return direction;
@@ -201,29 +181,19 @@ public class PossibleEvent {
201 preconditions.add(precondition); 181 preconditions.add(precondition);
202 } 182 }
203 183
204 ArrayList<Precondition> getPreconditions() 184 public ArrayList<Precondition> getPreconditions()
205 { 185 {
206 return preconditions; 186 return preconditions;
207 } 187 }
208 188
209 EventCall getCallback() 189 public EventCall getCallback()
210 { 190 {
211 return callback; 191 return callback;
212 } 192 }
213
214 void setCallback(EventCall callback)
215 {
216 this.callback = callback;
217 }
218 193
219 EventCallTime getCalltime() 194 public EventCallTime getCalltime()
220 { 195 {
221 return calltime; 196 return calltime;
222 } 197 }
223
224 void setCalltime(EventCallTime calltime)
225 {
226 this.calltime = calltime;
227 }
228 198
229} \ No newline at end of file 199} \ No newline at end of file