상속: TraitInfo, Requires
예제 #1
0
 public ExitsDebugOverlay(Actor self, ExitsDebugOverlayInfo info)
 {
     this.info    = info;
     manager      = self.World.WorldActor.TraitOrDefault <ExitsDebugOverlayManager>();
     rgbaRenderer = Game.Renderer.WorldRgbaColorRenderer;
     exits        = self.Info.TraitInfos <ExitInfo>().ToArray();
 }
예제 #2
0
 public ExitsDebugOverlay(Actor self, ExitsDebugOverlayInfo info)
 {
     this.info = info;
     manager   = self.World.WorldActor.TraitOrDefault <ExitsDebugOverlayManager>();
     exits     = self.Info.TraitInfos <ExitInfo>().ToArray();
 }