updated with int value, getter, setter
new method for assigning actions to player