src/main/java/ru/alphatech/icfpc/game/Slot.java
author indvdum
Sat, 18 Jun 2011 19:44:53 +0400
changeset 22 a847184e5468
parent 12 042162c73d0f
child 43 4ba83edc4361
permissions -rw-r--r--
+ executable bins
     1 package ru.alphatech.icfpc.game;
     2 
     3 
     4 public class Slot
     5 {
     6 	private int _vitality = 10000;
     7 
     8 	private IValue _value = null;
     9 
    10 	public void setVitality(int vitality)
    11 	{
    12 		_vitality = vitality;
    13 	}
    14 
    15 	public int getVitality()
    16 	{
    17 		return _vitality;	
    18 	}
    19 
    20 	public IValue getValue()
    21 	{
    22 		return _value;
    23 	}
    24 
    25 	public void putValue(IValue value)
    26 	{
    27 		_value = value;
    28 	}
    29 }