Esempio n. 1
0
 public void Init(SpriteAtlas atlas, string spritename, Dictionary <string, SpriteSequenceData> sequences)
 {
     mAtlas            = atlas;
     mSpriteName       = spritename;
     mRespawnTime      = 2;
     mInvulnTime       = 2;
     mDead             = false;
     mAnimationManager = new SpriteAnimationManager(sequences);
 }
Esempio n. 2
0
 public void SetAnimationSequences(Dictionary <string, SpriteSequenceData> sequences)
 {
     mAnimationManager = new SpriteAnimationManager(sequences);
 }