equal
deleted
inserted
replaced
1 package ru.alpha.ltg.cards; |
1 package ru.alpha.ltg.cards; |
2 |
2 |
3 import ru.alpha.ltg.cards.api.ICard; |
3 import ru.alpha.ltg.cards.api.ICard; |
|
4 import ru.alpha.ltg.cards.api.IPlayer; |
4 import ru.alpha.ltg.cards.api.IValue; |
5 import ru.alpha.ltg.cards.api.IValue; |
5 |
6 |
6 public class S implements ICard |
7 public class S implements ICard |
7 { |
8 { |
8 @Override |
9 @Override |
9 public IValue returnValue(IValue value, Slot[] slots) |
10 public IValue returnValue(IValue value, IPlayer proponent, IPlayer opponent) |
10 { |
11 { |
11 return new ICard() |
12 return new ICard() |
12 { |
13 { |
13 public IValue returnValue(IValue value, Slot[] slots) |
14 public IValue returnValue(IValue value, IPlayer proponent, IPlayer opponent) |
14 { |
15 { |
15 return new ICard() |
16 return new ICard() |
16 { |
17 { |
17 public IValue returnValue(IValue value, Slot[] slots) |
18 public IValue returnValue(IValue value, IPlayer proponent, IPlayer opponent) |
18 { |
19 { |
19 return value; |
20 return value; |
20 } |
21 } |
21 }; |
22 }; |
22 } |
23 } |