Exemple #1
0
 public SkillMap.Target Get(int x, int y)
 {
     SkillMap.Target target = (SkillMap.Target)null;
     this.targets.TryGetValue(SkillMap.GetHash(x, y), out target);
     return(target);
 }
Exemple #2
0
 public void Add(SkillMap.Target range)
 {
     this.targets[SkillMap.GetHash(range.pos)] = range;
 }
Exemple #3
0
 public bool IsRange(int x, int y)
 {
     return(this.scores.ContainsKey(SkillMap.GetHash(x, y)));
 }
Exemple #4
0
 public SkillMap.Score Get(int x, int y)
 {
     SkillMap.Score score = (SkillMap.Score)null;
     this.scores.TryGetValue(SkillMap.GetHash(x, y), out score);
     return(score);
 }
Exemple #5
0
 public void Add(SkillMap.Score score)
 {
     this.scores[SkillMap.GetHash(score.pos.x, score.pos.y)] = score;
 }
Exemple #6
0
 public static int GetHash(IntVector2 pos)
 {
     return(SkillMap.GetHash(pos.x, pos.y));
 }