Back to project page killingspree.
The source code is released under:
MIT License
If you think the Android project killingspree listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.sillygames.killingSpree.networking.messages; // ww w . j a va2 s . c om import java.util.ArrayList; import com.sillygames.killingSpree.pool.Poolable; public class GameStateMessage implements Poolable{ public ArrayList<EntityState> states; public long time; public GameStateMessage() { states = new ArrayList<EntityState>(); } public void addNewState(EntityState state) { states.add(state); } @Override public void reset() { states.clear(); } }