示例#1
0
        public void PerformInstruction(string instruction)
        {
            var instructions = _instructionService.ExtractInstructions(instruction);
            var shift        = _instructionService.ComputeShift(instructions);

            _tiles[_heightCenter + shift.Item1, _widthCenter + shift.Item2].ChangeState();
        }