Set up base for upcoming Mob MobAI and MobAPI

This commit is contained in:
Michael Yoo 2013-05-26 17:27:16 +09:30
parent 00de63986b
commit 8ec11b35ad
2 changed files with 39 additions and 1 deletions

View file

@ -160,6 +160,7 @@ class ServerAPI{
$this->loadAPI("tileentity", "TileEntityAPI");
$this->loadAPI("player", "PlayerAPI");
$this->loadAPI("time", "TimeAPI");
$this->loadAPI("mob", "MobAPI");
foreach($this->apiList as $ob){
if(is_callable(array($ob, "init"))){
@ -416,4 +417,4 @@ class ServerAPI{
console("[".($internal === true ? "INTERNAL":"DEBUG")."] API \x1b[36m".$name."\x1b[0m [\x1b[30;1m".$class."\x1b[0m] loaded", true, true, ($internal === true ? 3:2));
}
}
}