public RenderHarvester(Actor self, RenderHarvesterInfo info) : base(self) { this.info = info; harv = self.Trait <Harvester>(); foreach (var image in info.ImagesByFullness) { new Animation(image); /* just force these to get loaded upfront */ } }
public RenderHarvester(Actor self, RenderHarvesterInfo info) : base(self) { this.info = info; harv = self.Trait <Harvester>(); // HACK: Force images to be loaded up-front foreach (var image in info.ImagesByFullness) { new Animation(self.World, image); } }