Exemplo n.º 1
0
 public void OnGameStart(ISubmarine submarine)
 {
     for (int i = 0; i < 10; i++)
     {
         submarine.MoveRight();
     }
 }
Exemplo n.º 2
0
 public Interceptor(IMothership mothership,
                    ISubmarine submarine)
 {
     this.mothership = mothership;
     this.submarine  = submarine;
 }