Gruppe22.Backend.TriggerTile.TriggerTile C# (CSharp) Метод

TriggerTile() публичный Метод

public TriggerTile ( object parent, Backend affected = null, int countdown = -1, string explanationEnabled = "", string explanationDisabled = "", bool enabled = true, int repeat = -1, bool alwaysShowEnabled = true, bool alwaysShowDisabled = false, string tileImage = "", bool reactToEnemies = false, bool reactToObjects = false, int reactToItem = -1 ) : System
parent object
affected Backend
countdown int
explanationEnabled string
explanationDisabled string
enabled bool
repeat int
alwaysShowEnabled bool
alwaysShowDisabled bool
tileImage string
reactToEnemies bool
reactToObjects bool
reactToItem int
Результат System
        public TriggerTile(object parent, Backend.Coords affected = null, int countdown = -1, string explanationEnabled = "", string explanationDisabled = "", bool enabled = true, int repeat = -1, bool alwaysShowEnabled = true, bool alwaysShowDisabled = false, string tileImage = "", bool reactToEnemies = false, bool reactToObjects = false, int reactToItem = -1)
            : base(parent)
        {
            _countdown = countdown;
            if (affected != null) _affectedTile = affected; else _affectedTile = new Backend.Coords(-1, -1);
            _explanationDisabled = explanationDisabled;
            _explanationEnabled = explanationEnabled;
            _enabled = enabled;
            _repeat = -1;
            _alwaysShowDisabled = alwaysShowDisabled;
            _alwaysShowEnabled = alwaysShowEnabled;
            _tileimage = tileimage;
            _reactToEnemies = reactToEnemies;
            _reactToObjects = reactToObjects;
            _reactToItem = reactToItem;
        }