XSGridEditor  1.0.0
XSGridEditor is a lightweight square grid map system for 2D/3D SRPG games, and comes with a simple and easy-to-use grid editing function. It can be used as a beginning for you to create SRPG games.
Static Public Member Functions | List of all members
XSSLG.BuffFactory Class Reference

用单例实现的抽象工厂模式去创建对象 More...

Static Public Member Functions

static BuffBase CreateBuff (string name, SkillBase skill)
 工厂模式创建BuffBase More...
 
static BuffBase CreateBuff (BuffData data, SkillBase skill)
 工厂模式创建BuffBase More...
 

Detailed Description

用单例实现的抽象工厂模式去创建对象

Member Function Documentation

◆ CreateBuff() [1/2]

static BuffBase XSSLG.BuffFactory.CreateBuff ( BuffData  data,
SkillBase  skill 
)
inlinestatic

工厂模式创建BuffBase

Parameters
data技能data
unit玩家
Returns

◆ CreateBuff() [2/2]

static BuffBase XSSLG.BuffFactory.CreateBuff ( string  name,
SkillBase  skill 
)
inlinestatic

工厂模式创建BuffBase

Parameters
namebuff name
unit玩家
Returns

The documentation for this class was generated from the following file: