This commit is contained in:
aozhiwei 2021-04-12 10:23:58 +08:00
parent 59d48d7b67
commit df5bf5a5d0
4 changed files with 7 additions and 7 deletions

View File

@ -2,12 +2,12 @@
#include "incubator.h"
void RefreshRule::Init()
void Incubator::Init()
{
}
void RefreshRule::UnInit()
void Incubator::UnInit()
{
}

View File

@ -2,7 +2,7 @@
class Human;
class Room;
class RefreshRule
class Incubator
{
public:
Room* room = nullptr;

View File

@ -86,7 +86,7 @@ void Room::Init()
CreateDropObjs();
InitObstacleDatas();
ShuaAndroid();
refresh_rule_ = new RefreshRule();
refresh_rule_ = new Incubator();
refresh_rule_->room = this;
refresh_rule_->Init();
if (room_type_ == RT_NewBrid && creator_game_times_ <= 0) {

View File

@ -36,7 +36,7 @@ class AabbCollider;
class Android;
class Car;
class Hero;
class RefreshRule;
class Incubator;
class Room
{
public:
@ -320,7 +320,7 @@ private:
xtimer_list* auto_jump_timer_ = nullptr;
RefreshRule* refresh_rule_ = nullptr;
Incubator* refresh_rule_ = nullptr;
friend class RefreshRule;
friend class Incubator;
};