1
This commit is contained in:
@@ -16,26 +16,26 @@ Scene_Test::~Scene_Test()
|
|||||||
|
|
||||||
void Scene_Test::Enter()
|
void Scene_Test::Enter()
|
||||||
{
|
{
|
||||||
// SetScale(VecFPos(1.2f, 1.2f));
|
SetScale(VecFPos(1.2f, 1.2f));
|
||||||
// map = new GameMap;
|
map = new GameMap;
|
||||||
// map->LoadMap("map/cataclysm/town/elvengard/new_elvengard.map");
|
map->LoadMap("map/cataclysm/town/elvengard/new_elvengard.map");
|
||||||
// map->Enter(this);
|
map->Enter(this);
|
||||||
|
|
||||||
// RefPtr<CharacterObject> obj = new CharacterObject();
|
RefPtr<CharacterObject> obj = new CharacterObject();
|
||||||
// obj->SetPosition({1000, 300, 0});
|
obj->SetPosition({1000, 300, 0});
|
||||||
// obj->Construction(0);
|
obj->Construction(0);
|
||||||
|
|
||||||
// RefPtr<MonsterObject> monster = new MonsterObject();
|
RefPtr<MonsterObject> monster = new MonsterObject();
|
||||||
// monster->SetPosition({1200, 301, 0});
|
monster->SetPosition({1200, 301, 0});
|
||||||
// monster->Construction(1);
|
monster->Construction(1);
|
||||||
// monster->SetDirection(1);
|
monster->SetDirection(1);
|
||||||
|
|
||||||
// map->AddObject(obj);
|
map->AddObject(obj);
|
||||||
// map->AddObject(monster);
|
map->AddObject(monster);
|
||||||
|
|
||||||
// _camera = new GameMapCamera;
|
_camera = new GameMapCamera;
|
||||||
// _camera->SetFromActor(obj.Get());
|
_camera->SetFromActor(obj.Get());
|
||||||
// return;
|
return;
|
||||||
|
|
||||||
// // SDL_Log("Scene_Test::进入测试场景!");
|
// // SDL_Log("Scene_Test::进入测试场景!");
|
||||||
RefPtr<Actor> actor = new Actor;
|
RefPtr<Actor> actor = new Actor;
|
||||||
|
|||||||
Reference in New Issue
Block a user