Inheritance: AffectsShroudInfo
Ejemplo n.º 1
0
 public RevealsShroud(RevealsShroudInfo info)
     : base(info)
 {
     this.info = info;
     type      = info.RevealGeneratedShroud ? Shroud.SourceType.Visibility
                         : Shroud.SourceType.PassiveVisibility;
 }
Ejemplo n.º 2
0
        public RevealsShroud(Actor self, RevealsShroudInfo info)
        {
            this.info = info;
            lobbyShroudFogDisabled = !self.World.LobbyInfo.GlobalSettings.Shroud && !self.World.LobbyInfo.GlobalSettings.Fog;

            addCellsToPlayerShroud      = (p, c) => p.Shroud.AddVisibility(self, c);
            removeCellsFromPlayerShroud = p => p.Shroud.RemoveVisibility(self);
            isDisabled = () => false;
        }