easyx_framework V1.0.0
基于easyx的c++游戏框架
 
载入中...
搜索中...
未找到
BattleLevel类 参考

#include <BattleLevel.h>

类 BattleLevel 继承关系图:
Level base

Public 成员函数

 BattleLevel ()
 
virtual void Update (float deltaTime)
 控制者
 
virtual void BeginPlay ()
 务必把关卡初始化逻辑写进BeginPlay,禁止写入构造函数.
 
- Public 成员函数 继承自 Level
virtual void EndPlay ()
 
- Public 成员函数 继承自 base
 base ()
 
virtual ~base ()
 
std::string GetName () const
 
void SetName (const std::string &name)
 

Private 属性

class Spritebackground0
 
class PeaShooterpeashooter
 

额外继承的成员函数

- Protected 属性 继承自 Level
class ControllermainController = nullptr
 

构造及析构函数说明

◆ BattleLevel()

BattleLevel::BattleLevel ( )

sunshine->AttachTo(background0);‍/

成员函数说明

◆ BeginPlay()

void BattleLevel::BeginPlay ( )
virtual

务必把关卡初始化逻辑写进BeginPlay,禁止写入构造函数.

重载 Level .

◆ Update()

void BattleLevel::Update ( float deltaTime)
virtual

控制者

重载 Level .

类成员变量说明

◆ background0

class Sprite* BattleLevel::background0
private

◆ peashooter

class PeaShooter* BattleLevel::peashooter
private