измени метод оставив тот же смысл"public CreatureCommand Act(int x, int y) { int below =…
Jump to turn (12)
- 1измени метод оставив тот же смысл"public CreatureCommand Act(int x, int y) { int
- 2сделай автодокументацию как на C# " public class Sack : ICreature { private int
- 3сделай автодокументацию на русском языке как на C# " public class Sack : ICreatu
- 4измени метод оставив тот же смысл "public CreatureCommand Act(int x, int y) { va
- 5что делает этот метод "public bool DeadInConflict(ICreature conflictedObject) {
- 6сделай автодокументацию на русском языке как на C# "public bool DeadInConflict(I
- 7измени метод оставив тот же смысл "public CreatureCommand Act(int x, int y) { Ke
- 8измени метод для начинающего на C# оставив тот же смысл “public CreatureCommand
- 9сделай автодокументацию на русском языке как на C# "private bool CanMove(int x,
- 10измени метод "public CreatureCommand Act(int x, int y) { int xTo = 0; int yTo =
- 11измени метод для начинающего на C# "public CreatureCommand Act(int x, int y) { i
- 12измени метод для начинающего на C# оставив тот же смысл “public CreatureCommand
- User
измени метод оставив тот же смысл"public CreatureCommand Act(int x, int y) { int below = Game.MapHeight - 1;
codewhile (y != below) { if (Game.Map[x, y + 1] == null || (Game.Map[x, y + 1].GetImageFileName() == "Digger.png" && _falling > 0)) { _falling++; return new CreatureCommand { DeltaX = 0, DeltaY = 1 }; } else if (_falling > 1) return new CreatureCommand { DeltaX = 0, DeltaY = 0, TransformTo = new Gold() }; else { _falling = 0; return new CreatureCommand { }; } } if (_falling > 1) return new CreatureCommand { DeltaX = 0, DeltaY = 0, TransformTo = new Gold() }; else { _falling = 0; return new CreatureCommand { }; } }"