public ProxySprite() : base()
 {
     this.rcSprite         = null;
     this.x                = 0.0f;
     this.y                = 0.0f;
     this.cProxySpriteName = ProxySpriteName.Uninitilized;
 }
 public void setAll(Sprite.SpriteName mSpriteName, float posX = 0.0f, float posY = 0.0f)
 {
     this.cProxySpriteName = ProxySpriteName.SpriteProxy;
     this.x        = posX;
     this.y        = posY;
     this.rcSprite = (Sprite)SpriteManager.find(mSpriteName);
     Debug.Assert(rcSprite != null);
 }
 public ProxySprite(Sprite.SpriteName mSpriteName)
 {
     this.cProxySpriteName = ProxySpriteName.SpriteProxy;
     this.x        = 0.0f;
     this.x        = 0.0f;
     this.rcSprite = (Sprite)SpriteManager.find(mSpriteName);
     Debug.Assert(rcSprite != null);
 }
Example #4
0
 public ProxySprite()
 {
     this.name    = ProxySpriteName.Proxy;
     this.x       = 0.0f;
     this.y       = 0.0f;
     this.sx      = 1.0f;
     this.sy      = 1.0f;
     this.pSprite = null;
 }
Example #5
0
 public void Set(SpriteBaseName spriteName)
 {
     this.name    = ProxySpriteName.Proxy;
     this.x       = 0.0f;
     this.y       = 0.0f;
     this.sx      = 1.0f;
     this.sy      = 1.0f;
     this.pSprite = SpriteManager.Find(spriteName);
     Debug.Assert(pSprite != null);
 }
 public void setCProxySpriteName(ProxySprite.ProxySpriteName mPRoxySpriteName)
 {
     this.cProxySpriteName = mPRoxySpriteName;
 }