src/main/java/ru/alphatech/icfpc/game/Slot.java
changeset 122 845c89fa268e
parent 106 643b85a8a16b
child 127 57ee53a3cf56
equal deleted inserted replaced
121:ea793ae43d3e 122:845c89fa268e
    32 	}
    32 	}
    33 	
    33 	
    34 	public boolean isZombie(){
    34 	public boolean isZombie(){
    35 		return _vitality == -1;
    35 		return _vitality == -1;
    36 	}
    36 	}
       
    37 	
       
    38 	public boolean isDead(){
       
    39 		return _vitality == 0 || _vitality == -1;
       
    40 	}
    37 
    41 
    38 	public IValue getValue()
    42 	public IValue getValue()
    39 	{
    43 	{
    40 		return _value;
    44 		return _value;
    41 	}
    45 	}