コード例 #1
0
ファイル: Spell.cs プロジェクト: JHNUXER/Roguelike
 public Spell(string name, int manaCost, AreaOfEffect affectedArea, bool targetCanMove, World world, ICastStrategy castStrategy, bool allowRotation)
 {
     Name          = name;
     ManaCost      = manaCost;
     _world        = world;
     _castStrategy = castStrategy;
     TargetCanMove = targetCanMove;
     AffectedArea  = affectedArea;
     AllowRotation = allowRotation;
 }
コード例 #2
0
ファイル: Spell.cs プロジェクト: faintpixel/Roguelike
 public Spell(string name, int manaCost, AreaOfEffect affectedArea, bool targetCanMove, World world, ICastStrategy castStrategy, bool allowRotation)
 {
     Name = name;
     ManaCost = manaCost;
     _world = world;
     _castStrategy = castStrategy;
     TargetCanMove = targetCanMove;
     AffectedArea = affectedArea;
     AllowRotation = allowRotation;
 }