Back to project page Gloomy-Dungeons-3D.
The source code is released under:
MIT License
If you think the Android project Gloomy-Dungeons-3D 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 zame.game.engine; //w ww .j a v a2 s . c om import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; public class Action implements Externalizable { private static final long serialVersionUID = 0L; public int type; public int mark; public int param; public void writeExternal(ObjectOutput os) throws IOException { os.writeInt(type); os.writeInt(mark); os.writeInt(param); } public void readExternal(ObjectInput is) throws IOException { type = is.readInt(); mark = is.readInt(); param = is.readInt(); } }