-- Fredzaza --
-- TMP --
-- Update 17/04/2020 --

Pelle = {};
Pelle.modDirectory = g_currentModDirectory;

function Pelle.prerequisitesPresent(specializations)
      return true;
end;
function Pelle.initSpecialization()
	local schema = Vehicle.xmlSchema
    schema:setXMLSpecializationType("Pelle")
	schema:register(XMLValueType.NODE_INDEX, "vehicle.baldevisualexcavadora#index", "index")
end
function Pelle.registerOverwrittenFunctions(vehicleType)
end
function Pelle.registerFunctions(vehicleType)	
end
function Pelle.registerEvents(vehicleType)
end
function Pelle:registerActionEventsPlayer()
end
function Pelle:registerActionEventsMenu()
end

function Pelle:onRegisterActionEvents(isSelected, isOnActiveVehicle)
end

function Pelle.registerEventListeners(vehicleType)
	SpecializationUtil.registerEventListener(vehicleType, "onLoad", Pelle)
	SpecializationUtil.registerEventListener(vehicleType, "onDelete", Pelle)
    SpecializationUtil.registerEventListener(vehicleType, "onReadStream", Pelle)
    SpecializationUtil.registerEventListener(vehicleType, "onWriteStream", Pelle)
	SpecializationUtil.registerEventListener(vehicleType, "onUpdate", Pelle)
	SpecializationUtil.registerEventListener(vehicleType, "onDraw", Pelle)
	SpecializationUtil.registerEventListener(vehicleType, "onRegisterActionEvents", Pelle)
end

function Pelle:onLoad(vehicle)
	self.godetvisualpelle = self.xmlFile:getValue("vehicle.baldevisualexcavadora#index", nil, self.components, self.i3dMappings)
end;

function Pelle:onDelete() 
end;

function Pelle:onReadStream(streamId, connection)
end;

function Pelle:onWriteStream(streamId, connection)
end;

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

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

function Pelle:onUpdate(dt, vehicle)
end;

function Pelle:onUpdateTick() 
end;

function Pelle:onDeactivate()
end;

function Pelle:onDraw()  
end;
