Compare with Previous |
Blame |
View Log
import "Turbine.UI";
import "Turbine.UI.Lotro";
import "KragenPlugs.Utils";
import "KragenPlugs.KragenBars";
Effect = class ( );
function Effect:Constructor ( )
self.name = "";
self.state = false;
self.effectid = 0;
end
function Effect:GetState()
return self.state;
end
function Effect:SetState(state, id)
if ( state ) then
self.state = true;
self.effectid = id;
else
if ( id == self.effectid ) then
self.state = false;
self.effectid = 0;
end
end
return self.state;
end
function Effect:GetName()
return self.name;
end
function Effect:SetName(name)
self.name = name;
end
Compare with Previous |
Blame
All times are GMT -5. The time now is 07:52 PM.