示例#1
0
 private static Dictionary <string, SpriteDataModel> GetOverheadSprites()
 {
     _allSpriteSets ??= new Dictionary <string, SpriteDataModel>
     {
         ["Up"]    = AnimationSpritesData.GetSpriteData("OverheadUp"),
         ["Down"]  = AnimationSpritesData.GetSpriteData("OverheadDown"),
         ["Left"]  = AnimationSpritesData.GetSpriteData("OverheadLeft"),
         ["Right"] = AnimationSpritesData.GetSpriteData("OverheadRight")
     };
     return(_allSpriteSets);
 }
示例#2
0
 private static Dictionary <string, SpriteDataModel> GetCombatSprites()
 {
     _combatSprites ??= new Dictionary <string, SpriteDataModel>
     {
         ["WizardAttack1"] = AnimationSpritesData.GetSpriteData("WizardAttack1"),
         ["WizardAttack2"] = AnimationSpritesData.GetSpriteData("WizardAttack2"),
         ["WizardDead"]    = AnimationSpritesData.GetSpriteData("WizardDead"),
         ["WizardIdle"]    = AnimationSpritesData.GetSpriteData("WizardIdle"),
         ["WarAttack1"]    = AnimationSpritesData.GetSpriteData("WarAttack1"),
         ["WarAttack2"]    = AnimationSpritesData.GetSpriteData("WarAttack2"),
         ["WarIdle"]       = AnimationSpritesData.GetSpriteData("WarIdle"),
         ["WarDead"]       = AnimationSpritesData.GetSpriteData("WarDead")
     };
     return(_combatSprites);
 }