fixed class variable private/public, + now can only attack enemy

all unit attributes are stored in unitcontroller now, no long here and
there. so much better.