public ObjectComponent(GameObject obj)
 {
     this.Obj = obj;
     renderInfo = new WorldObjectRenderInfo();
     if (obj.OBJ.BaseGraphicID > 0)
     {
         var gid = obj.OBJ.BaseGraphicID;
         this.DrawGroup = obj.Resource.Get<DGRP>(gid);
         dgrp = new DGRPRenderer(this.DrawGroup);
         dgrp.DynamicSpriteBaseID = obj.OBJ.DynamicSpriteBaseId;
         dgrp.NumDynamicSprites = obj.OBJ.NumDynamicSprites;
     }
 }
 public DGRPSprite(DGRP parent)
 {
     this.Parent = parent;
 }
 public DGRPImage(DGRP parent)
 {
     this.Parent = parent;
 }
 public DGRPRenderer(DGRP group)
 {
     this.DrawGroup = group;
 }
Beispiel #5
0
 public DGRPSprite(DGRP parent)
 {
     this.Parent = parent;
 }
Beispiel #6
0
 public DGRPImage(DGRP parent)
 {
     this.Parent = parent;
 }