This commit is contained in:
parent
5c2faa793b
commit
02eafd0a46
15 changed files with 160 additions and 273 deletions
|
@ -27,6 +27,10 @@
|
|||
#include "enemy\npc.h"
|
||||
#endif
|
||||
|
||||
#ifndef __FRIEND_FRIEND_H__
|
||||
#include "friend\friend.h"
|
||||
#endif
|
||||
|
||||
#ifndef __PLATFORM_PLATFORM_H__
|
||||
#include "platform\platform.h"
|
||||
#endif
|
||||
|
@ -322,6 +326,14 @@ void CGameScene::initLevel()
|
|||
}
|
||||
break;
|
||||
|
||||
case CGameScene::ACTOR_FRIEND_NPC:
|
||||
{
|
||||
CNpcFriend *friendNpc;
|
||||
friendNpc=CNpcFriend::Create(ThisActor);
|
||||
friendNpc->setLayerCollision( Level.getCollisionLayer() );
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue