public InfoComponent(GameEntity entity, InfoComponent parent) : base(entity) { parent_ = parent; cusName_ = false; cusFT_ = false; flavorText_ = ""; type_ = ObjectType.INHERIT; typeID_ = parent_.typeID_; }
public override Component deepCopy(GameEntity entity) { InfoComponent c = new InfoComponent(entity, typeID_); c.parent_ = parent_; c.cusName_ = cusName_; c.name_ = name_; c.cusFT_ = cusFT_; c.flavorText_ = flavorText_; c.type_ = type_; c.state_ = state_; return(c); }