Exemplo n.º 1
0
        public Carryall(Actor self, CarryallInfo info)
        {
            this.self = self;
            this.info = info;

            IsBusy      = false;
            IsCarrying  = false;
            carryHeight = self.Trait <Helicopter>().Info.LandAltitude;
        }
Exemplo n.º 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;
        }