public Companion(CompanionPrototype proto) : base(proto) { prototype = proto; mMovingSpeed = proto.movementSpeed; mCollidesWith = proto.CollidesWith; Body.mIgnoresGravity = proto.ignoreGravity; mAttackManager = new AttackManager(this); mAttackManager.rangedAttacks.Add(new RangedAttack(this, (RangedAttackPrototype)proto.attack)); copyAttack = proto.copyAttack; }
public Drone(CompanionPrototype proto) : base(proto) { }