コード例 #1
0
ファイル: Brain.cs プロジェクト: threeup/threefish
 public static float FoodDesire(Actor self, Actor other)
 {
     return self.CanEat(other) ? 6f : 0f;
 }
コード例 #2
0
ファイル: Brain.cs プロジェクト: threeup/threefish
 public static float FearDesire(Actor self, Actor other)
 {
     return other.CanEat(self) ? 6f : 0f;
 }