Exemple #1
0
 public InfoComponent(GameEntity entity, InfoComponent parent)
     : base(entity)
 {
     parent_     = parent;
     cusName_    = false;
     cusFT_      = false;
     flavorText_ = "";
     type_       = ObjectType.INHERIT;
     typeID_     = parent_.typeID_;
 }
Exemple #2
0
        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);
        }