view src/alice/test/codesegment/remote/alpha/FishPoint.java @ 136:bb023f060f2f working

add different version test
author sugi
date Sun, 19 Aug 2012 21:31:21 +0900
parents
children
line wrap: on
line source

package alice.test.codesegment.remote.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 String vector = "light"; 
	
	public FishPoint(){}
	
	public FishPoint(float x,float y){
		this.x = x;
		this.y = y;
	}
		
	public void setXY(float x,float y){
		this.x = x;
		this.y = y;
	}
	
	public float getX(){
		return this.x;
	}
	
	public float getY(){
		return this.y;
	}
	
	public String getVector(){
		return this.vector;
	}

}