Mercurial > hg > Members > tatsuki > Alice
view src/alice/test/topology/fishmodel/alpha/FishPoint.java @ 132:1044a79ce4ef working
delete cs from OutputCodeSegment
author | sugi |
---|---|
date | Tue, 14 Aug 2012 19:43:10 +0900 |
parents | 7dbaaa0de144 |
children |
line wrap: on
line source
package alice.test.topology.fishmodel.alpha; import org.msgpack.annotation.Message; @Message public class FishPoint { // public fields are serialized. public float x = 0.0f; public float y = 0.0f; public float z = 0.0f; public String vector = "light"; public FishPoint(){} public FishPoint(float x,float y){ this.x = x; this.y = y; } public FishPoint(float x,float y,float z){ this.x = x; this.y = y; this.z = z; } public void setXY(float x,float y){ this.x = x; this.y = y; } public void setXYZ(float x,float y,float z){ this.x = x; this.y = y; this.z = z; } public float getX(){ return this.x; } public float getY(){ return this.y; } public float getZ(){ return this.z; } public String getVector(){ return this.vector; } }