コード例 #1
0
ファイル: CreatureFOV.cs プロジェクト: Sinellil/roguelike-cs
 /// <summary>
 /// This uses an overriden location for the creature
 /// </summary>
 /// <param name="creature"></param>
 /// <param name="fov"></param>
 /// <param name="creatureFOVType"></param>
 /// <param name="locationX"></param>
 /// <param name="locationY"></param>
 public CreatureFOV(Creature creature, WrappedFOV fov, CreatureFOVType creatureFOVType, Point overrideLocation)
 {
     this.fov = fov;
     this.type = creatureFOVType;
     this.creature = creature;
     this.overrideLocation = overrideLocation;
 }
コード例 #2
0
 /// <summary>
 /// This uses an overriden location for the creature
 /// </summary>
 /// <param name="creature"></param>
 /// <param name="fov"></param>
 /// <param name="creatureFOVType"></param>
 /// <param name="locationX"></param>
 /// <param name="locationY"></param>
 public CreatureFOV(Creature creature, WrappedFOV fov, CreatureFOVType creatureFOVType, Point overrideLocation)
 {
     this.fov              = fov;
     this.type             = creatureFOVType;
     this.creature         = creature;
     this.overrideLocation = overrideLocation;
 }
コード例 #3
0
ファイル: CreatureFOV.cs プロジェクト: Sinellil/roguelike-cs
 public CreatureFOV(Creature creature, WrappedFOV fov, CreatureFOVType creatureFOVType)
 {
     this.fov = fov;
     this.type = creatureFOVType;
     this.creature = creature;
 }
コード例 #4
0
 public CreatureFOV(Creature creature, WrappedFOV fov, CreatureFOVType creatureFOVType)
 {
     this.fov      = fov;
     this.type     = creatureFOVType;
     this.creature = creature;
 }