예제 #1
0
파일: Maze.cs 프로젝트: ZwodahS/LD25
 public void Kidnap(Unit unit)
 {
     Grid grid = new Grid(rng.Next(4,8),rng.Next(4,8));
     unit.SetGrid(grid);
     unit.ContainingMaze = this;
     Humans.Add(unit);
 }
예제 #2
0
파일: Maze.cs 프로젝트: ZwodahS/LD25
 public void UnitEscape(Unit unit)
 {
     Parent.UnitEscape(unit);
     Humans.Remove(unit);
 }
예제 #3
0
파일: GameScreen.cs 프로젝트: ZwodahS/LD25
 public void UnitEscape(Unit unit)
 {
 }
예제 #4
0
파일: Maze.cs 프로젝트: ZwodahS/LD25
 public void RansomPaid(Unit unit)
 {
     Parent.RansomPaid(unit);
     Humans.Remove(unit);
 }
예제 #5
0
파일: GameScreen.cs 프로젝트: ZwodahS/LD25
 public void RansomPaid(Unit unit)
 {
     TotalRansom += unit.RansomAmount;
 }