예제 #1
0
        // todo refactor - check Weapon instead?
        public static bool IsArmed(this IMonster monster)
        {
            var result = monster.HasBehaviour <ShootsAtPlayer>() || monster.HasBehaviour <StartsShootingWhenHurt>();

            return(result);
        }