Example #1
0
        public string Action(ResultModel model)
        {
            Console.WriteLine("Performing action");
            var result = _currentTile.Action(model.action, _player);

            if (_player.IsDead)
            {
                GameOver = true;
                return("You died game over");
            }
            return(result);
        }