/// <summary> /// Creates an actor from an instance /// </summary> /// <param name="actor">The instance that the actor is created from</param> /// <param name="type">The type of the instance</param> public Actor(NWN2Toolset.NWN2.Data.Instances.INWN2Instance actor, EnumTypes.actorType type) { instance = actor; this.type = type; boolInstance = true; }
/// <summary> /// Creates an actor from a blueprint /// </summary> /// <param name="actor">The blueprint that the actor will contain</param> /// <param name="type">The type of the blueprint</param> public Actor(NWN2Toolset.NWN2.Data.Blueprints.INWN2Blueprint actor, EnumTypes.actorType type) { blueprint = actor; this.type = type; boolInstance = false; }