1
This commit is contained in:
parent
59d48d7b67
commit
df5bf5a5d0
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
#include "incubator.h"
|
#include "incubator.h"
|
||||||
|
|
||||||
void RefreshRule::Init()
|
void Incubator::Init()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RefreshRule::UnInit()
|
void Incubator::UnInit()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
class Human;
|
class Human;
|
||||||
class Room;
|
class Room;
|
||||||
class RefreshRule
|
class Incubator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Room* room = nullptr;
|
Room* room = nullptr;
|
||||||
|
@ -86,7 +86,7 @@ void Room::Init()
|
|||||||
CreateDropObjs();
|
CreateDropObjs();
|
||||||
InitObstacleDatas();
|
InitObstacleDatas();
|
||||||
ShuaAndroid();
|
ShuaAndroid();
|
||||||
refresh_rule_ = new RefreshRule();
|
refresh_rule_ = new Incubator();
|
||||||
refresh_rule_->room = this;
|
refresh_rule_->room = this;
|
||||||
refresh_rule_->Init();
|
refresh_rule_->Init();
|
||||||
if (room_type_ == RT_NewBrid && creator_game_times_ <= 0) {
|
if (room_type_ == RT_NewBrid && creator_game_times_ <= 0) {
|
||||||
|
@ -36,7 +36,7 @@ class AabbCollider;
|
|||||||
class Android;
|
class Android;
|
||||||
class Car;
|
class Car;
|
||||||
class Hero;
|
class Hero;
|
||||||
class RefreshRule;
|
class Incubator;
|
||||||
class Room
|
class Room
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -320,7 +320,7 @@ private:
|
|||||||
|
|
||||||
xtimer_list* auto_jump_timer_ = nullptr;
|
xtimer_list* auto_jump_timer_ = nullptr;
|
||||||
|
|
||||||
RefreshRule* refresh_rule_ = nullptr;
|
Incubator* refresh_rule_ = nullptr;
|
||||||
|
|
||||||
friend class RefreshRule;
|
friend class Incubator;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user