public void tick(int tick)
	{
		//System.out.println("ant's destination: " + destination.x + " " + destination.y);
		if (state == StateEnum.Idle)
		{
			
		}
		else if (state == StateEnum.Walking)
		{
			if (isDestinationReached())
			{
				parent.mPhysics.setVelocity(0);
				state = StateEnum.Idle;
			}
			
			Coord currentPosition = parent.mPhysics.position;
			double newAngle = currentPosition.getDirectionTo(destination);
			//System.out.println("Angle: " + newAngle);
			parent.mPhysics.setAngle(newAngle);
		}
		else if (state == StateEnum.Building)
		{
			if (isBuildingDone)
				state = StateEnum.Idle;
			
		}
		else if (state == StateEnum.Gathering)
		{
			if (isInventoryFull)
			{
				//walkingTarget = getDepositPlace();
				state = StateEnum.Walking;
				
			}
		}
		else if (state == StateEnum.Fighting)
		{
			if (isEnemyDead)
			{
				//getNewEnemy()
				state = StateEnum.Idle;
			}
			
		}
	}