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; /*from w ww . j a va2 s . c o m*/ import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; public class Mark implements Externalizable { private static final long serialVersionUID = 0L; public int id; public int x; public int y; public void writeExternal(ObjectOutput os) throws IOException { os.writeInt(id); os.writeInt(x); os.writeInt(y); } public void readExternal(ObjectInput is) throws IOException { id = is.readInt(); x = is.readInt(); y = is.readInt(); } }