home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Esportes
/
CrossingCup.swf
/
scripts
/
__Packages
/
sandy
/
skin
/
BasicSkin.as
next >
Wrap
Text File
|
2007-12-11
|
821b
|
33 lines
class sandy.skin.BasicSkin extends com.bourre.events.EventBroadcaster
{
static var onUpdateEVENT = sandy.events.SkinEvent.onUpdateEVENT;
function BasicSkin(Void)
{
super();
this._eOnUpdate = new sandy.events.SkinEvent(sandy.events.SkinEvent.onUpdateEVENT,this,this.getType());
this._filters = [];
this._useLight = false;
}
function getType(Void)
{
return sandy.skin.SkinType.__get__NONE();
}
function setLightingEnable(bool)
{
if(this._useLight != bool)
{
this._useLight = bool;
this.broadcastEvent(this._eOnUpdate);
}
}
function set filters(a)
{
this._filters = a;
this.broadcastEvent(this._eOnUpdate);
}
function get filters()
{
return this._filters;
}
}