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.RoleFactory Class Reference

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

Static Public Member Functions

static T CreateRole< T > (RoleData data)
 工厂模式创建 More...
 
static Role CreateRole (RoleData data)
 工厂模式创建 More...
 

Detailed Description

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

Member Function Documentation

◆ CreateRole()

static Role XSSLG.RoleFactory.CreateRole ( RoleData  data)
static

工厂模式创建

Parameters
dataroledata
Returns
role对象

◆ CreateRole< T >()

static T XSSLG.RoleFactory.CreateRole< T > ( RoleData  data)
inlinestatic

工厂模式创建

Parameters
dataroledata
Returns
role对象
Type Constraints
T :Role 
T :new() 

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