Initialize local project and fix ranch growth synchronization
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
package net.pixvi.myr.center
|
||||
{
|
||||
import net.pixvi.pfw.utils.core.Singleton;
|
||||
|
||||
public class StatusCenter extends Singleton
|
||||
{
|
||||
|
||||
public function StatusCenter()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public static function getIns() : StatusCenter
|
||||
{
|
||||
return Singleton.getInstanceOrCreate(StatusCenter) as StatusCenter;
|
||||
}
|
||||
|
||||
public function killMonster(type:int, mode:int) : void
|
||||
{
|
||||
if(Master.history.numKillMonsters[type] == null)
|
||||
{
|
||||
Master.history.numKillMonsters[type] = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
Master.history.numKillMonsters[type]++;
|
||||
}
|
||||
}
|
||||
|
||||
public function getMonster(type:int) : void
|
||||
{
|
||||
}
|
||||
|
||||
public function monsterModeChange(type:int, mode:int) : void
|
||||
{
|
||||
if(mode == 2)
|
||||
{
|
||||
if(Master.history.numFeedMonsters[type] == null)
|
||||
{
|
||||
Master.history.numFeedMonsters[type] = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
Master.history.numFeedMonsters[type]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function unlockMonster(type:int) : void
|
||||
{
|
||||
}
|
||||
|
||||
public function passStage(stage:String, level:int) : void
|
||||
{
|
||||
}
|
||||
|
||||
public function passLevel(level:int) : void
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user