示例#1
0
 public CCPrimitiveCommand(float globalZOrder, CCTexture2D texture, CCPrimitive <T, T2> primitive,
                           CCBlendFunc blendType, CCAffineTransform modelViewTransform, int flags = 0)
     : base(globalZOrder, modelViewTransform, flags)
 {
     CommandType = CommandType.PRIMITIVE_COMMAND;
     Primitive   = primitive;
     BlendType   = blendType;
     Texture     = texture;
 }
示例#2
0
 public CCPrimitiveCommand(float globalZOrder, CCPrimitive <T, T2> primitive,
                           CCBlendFunc blendType, CCAffineTransform modelViewTransform, int flags = 0)
     : this(globalZOrder, null, primitive, blendType, modelViewTransform, flags)
 {
 }