public void active(int speed){
		
		if( dir==DirKey.Up ){
			this.y = this.y - speed;
		}
		else if( dir==DirKey.Down ){
			this.y = this.y + speed;
		}
		else if( dir==DirKey.Left ){
			this.x = this.x - speed;
		}
		else if( dir==DirKey.Right ){
			this.x = this.x + speed;
		}
		
	}