package com.game;

public class Snake_Element
{
   private int point_x=0;//x坐标
   private int point_Y=0;//y坐标
   private int direction=Snake_Direction.RIGHT;   //蛇身某一部位的当前方向
   private int size=Snake_Direction.SNAKE_SIZE;//蛇身的大小
   
   public Snake_Element()
   {   
   }
   public Snake_Element(int point_x,int point_y)
   {
  this.point_x = point_x;
  this.point_Y = point_y;
   }
public int getDirection() 
{
return direction;
}
public void setDirection(int direction) {
this.direction = direction;
}
public int getPoint_x() {
return point_x;
}
public void setPoint_x(int point_x) {
this.point_x = point_x;
}
public int getPoint_Y() {
return point_Y;
}
public void setPoint_Y(int point_Y) {
this.point_Y = point_Y;
}
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
   
}