--
-- Acros
-- Specialization for acros mod na ventelator
--
-- @author:....
-- perepiska pod acros : Foit
-- @date  0	1/11/12
--  
-- Copyright (C) RNMT.WWWW.fs-mod.3dn.ru

ventelator = {};

function ventelator.prerequisitesPresent(specializations)
    return SpecializationUtil.hasSpecialization(Motorized, specializations);
end;

function ventelator:load(xmlFile)
       self.ventelator = Utils.indexToObject(self.components, getXMLString(xmlFile, "vehicle.ventelator#index"));
end;

function ventelator:delete()
end;

function ventelator:mouseEvent(posX, posY, isDown, isUp, button)
end;

function ventelator:keyEvent(unicode, sym, modifier, isDown)
end;

function ventelator:update(dt)
	if self.isMotorStarted then
         		rotate(self.ventelator, dt*0.01,0, 0, 0 );		
	end;

end;

function ventelator:draw()
end;

