src/main/java/ru/alphatech/icfpc/cards/Copy.java
changeset 98 19dba9e387ce
parent 74 b277f6c31f5f
child 102 cc814352ab43
equal deleted inserted replaced
97:89f13f209302 98:19dba9e387ce
     5 import ru.alphatech.icfpc.game.Player;
     5 import ru.alphatech.icfpc.game.Player;
     6 import ru.alphatech.icfpc.game.Value;
     6 import ru.alphatech.icfpc.game.Value;
     7 
     7 
     8 public class Copy implements ICard
     8 public class Copy implements ICard
     9 {
     9 {
       
    10 	@Override
       
    11 	public String getName() {
       
    12 		return "copy";
       
    13 	}
       
    14 	
    10 	@Override
    15 	@Override
    11 	public IValue returnValue(IValue iobj, Player proponent, Player opponent)
    16 	public IValue returnValue(IValue iobj, Player proponent, Player opponent)
    12 	{
    17 	{
    13 		if (iobj instanceof Value)
    18 		if (iobj instanceof Value)
    14 		{
    19 		{