Beispiel #1
0
        public bool LocationUndergroundEnter(double timeStamp)
        {
            WIActiveState activeState = WIActiveState.Active;

            if (worlditem.Group.Props.TerrainType == LocationTerrainType.AboveGround)
            {
                activeState = WIActiveState.Invisible;
            }
            worlditem.ActiveStateLocked = false;
            worlditem.ActiveState       = activeState;
            worlditem.ActiveStateLocked = true;
            return(true);
        }
Beispiel #2
0
 public bool Is(WIActiveState activeState)
 {
     return(Frontiers.Flags.Check((uint)mActiveState, (uint)activeState, Frontiers.Flags.CheckType.MatchAny));
 }