Public Member Functions

empty2d Class Reference

iworld2d模块——空对象类,可以用作容器. More...

Inheritance diagram for empty2d:
obj2d

List of all members.

Public Member Functions

def __init__

Detailed Description

iworld2d模块——空对象类,可以用作容器.

使用容器的方法请参考 obj2d.attach_to_parent 和 detach_from_parent 接口.


Constructor & Destructor Documentation

def __init__ (   self,
  layer_id = None,
  ui_id = None 
)
初始化

参数:
        layer_id		:int	None代表用默认的层(中间层)
        ui_id			:int	canvas_ui的标识,默认为None,None表示不属于canvas_ui
        
注意:
        空对象类的key_point属性无效,可以用pos代替
 All Classes Namespaces Functions Variables Properties