示例#1
0
        public Carryall(Actor self, CarryallInfo info)
        {
            this.self = self;
            this.info = info;

            IsBusy      = false;
            IsCarrying  = false;
            carryHeight = self.Trait <Helicopter>().Info.LandAltitude;
        }
示例#2
0
        public Carryall(Actor self, CarryallInfo info)
        {
            this.self = self;
            this.info = info;

            IsBusy     = false;
            IsCarrying = false;

            var helicopter = self.Info.TraitInfoOrDefault <AircraftInfo>();

            carryHeight = helicopter != null ? helicopter.LandAltitude : WDist.Zero;
        }