src/main/java/ru/alphatech/icfpc/game/Slot.java
changeset 106 643b85a8a16b
parent 80 fcdce54b2f25
child 122 845c89fa268e
equal deleted inserted replaced
105:57368a3d0b15 106:643b85a8a16b
    28 
    28 
    29 	public int getVitality()
    29 	public int getVitality()
    30 	{
    30 	{
    31 		return _vitality;	
    31 		return _vitality;	
    32 	}
    32 	}
       
    33 	
       
    34 	public boolean isZombie(){
       
    35 		return _vitality == -1;
       
    36 	}
    33 
    37 
    34 	public IValue getValue()
    38 	public IValue getValue()
    35 	{
    39 	{
    36 		return _value;
    40 		return _value;
    37 	}
    41 	}