예제 #1
0
 private PlayerSpell(Recipe recipe, PlayerWitch owner, bool repeatable)
 {
     this.Recipe = recipe;
     _active     = true;
     _owner      = owner;
     _repeatable = repeatable;
 }
예제 #2
0
 public PlayerSpell(TomeSpell learnt, PlayerWitch owner)
 {
     new PlayerSpell(new Recipe(learnt.Recipe), owner, learnt.IsRepeatable());
 }
예제 #3
0
 public override bool IsOwner(PlayerWitch player)
 {
     return(player == _owner);
 }
예제 #4
0
 public PlayerSpell(Recipe recipe, PlayerWitch owner)
 {
     new PlayerSpell(recipe, owner, false);
 }