Back to project page SnowLand.
The source code is released under:
GNU General Public License
If you think the Android project SnowLand 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.walrus.core; /*from www.j a v a 2 s . c om*/ import com.walrus.game.Entity; import com.walrus.game.Entity.Orientation; public class Move { private Entity entity; private Orientation orientation; private int positionI, positionJ; public Move(Entity subject, Orientation where){ entity = subject; orientation = where; positionI = entity.getPosi(); positionJ = entity.getPosj(); } public Entity getEntity() { return entity; } public void setEntity(Entity entity) { this.entity = entity; } public Orientation getOrientation() { return orientation; } public void setOrientation(Orientation orientation) { this.orientation = orientation; } public int getPositionI() { return positionI; } public void setPositionI(int positionI) { this.positionI = positionI; } public int getPositionJ() { return positionJ; } public void setPositionJ(int positionJ) { this.positionJ = positionJ; } }