void TurretClass::HandleActionCommand(int xPos, int yPos)
{
	if (currentGameMap->cellExists(xPos, yPos)) {
		ObjectClass* tempTarget = currentGameMap->getCell(xPos, yPos)->getObject();
		currentGame->GetCommandManager().addCommand(Command(CMD_TURRET_ATTACKOBJECT,objectID,tempTarget->getObjectID()));

	}
}