public Actor(string aName, ActorFactory.MaxHPts maxHPts, Actor anOwner) { _maxHP = (int)maxHPts; _healthPoints = (int)maxHPts; _owner = anOwner; name = aName; brain = new Actors.HeadBrain(); }
public static ActorFactory GetInstance() { if (theFactory == null) { theFactory = new ActorFactory(); } return theFactory; }