View Javadoc

1   package org.catacomb.datalish;
2   
3   import java.util.ArrayList;
4   
5   import org.catacomb.be.Event;
6   
7   public class SpriteEvents {
8   
9   
10      ArrayList<Event> events;
11  
12      public SpriteEvents(ArrayList<Event> evs) {
13          events = evs;
14      }
15  
16  
17      public void perform() {
18          if (events != null) {
19              for (Event ev : events) {
20                  ev.perform();
21              }
22          }
23      }
24  
25  }