home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 161
/
MOBICLIC161.ISO
/
pc
/
DATA
/
DSS161
/
DSS161_02
/
DSS161_02.swf
/
scripts
/
dss161
/
SaveManager.as
< prev
Wrap
Text File
|
2014-01-15
|
823b
|
36 lines
package dss161
{
import dss161.engineaddons.gamesprotos.Actor;
public class SaveManager extends Actor
{
public function SaveManager()
{
super();
}
public function setValue(param1:String, param2:*) : void
{
if(!game.isFirstModuleToBeLaunchedByHost)
{
game.memo.setValue(param1,param2);
}
}
public function getValue(param1:String, param2:* = null) : *
{
return !game.isFirstModuleToBeLaunchedByHost ? game.memo.getValue(param1,param2) : param2;
}
public function clear(param1:String) : void
{
if(!game.isFirstModuleToBeLaunchedByHost)
{
game.memo.clear(param1);
}
}
}
}