コード例 #1
0
 public LoadScreen(ScreenManager manager, WorldBuilder builder, bool firstLoad)
     : base(manager)
 {
     this.builder = builder;
     this.firstLoad = firstLoad;
     Initialize();
 }
コード例 #2
0
        public override void Initialize()
        {
            mouse = new UIMouse();
            keyboard = new UIKeyboard();
            messageLog = new MessageLog();
            screenManager = new ScreenManager(this);
            camera = new Camera(sim);
            console = new Console(sim);

            base.Initialize();
        }
コード例 #3
0
 public WorldScreen(ScreenManager manager)
     : base(manager)
 {
     Initialize();
     this.world = manager.UI.Sim.World;
 }
コード例 #4
0
 public SettingsScreen(ScreenManager manager)
     : base(manager)
 {
     Initialize();
 }
コード例 #5
0
 public Screen(ScreenManager screenManager)
 {
     this.manager = screenManager;
 }
コード例 #6
0
 public MenuScreen(ScreenManager manager)
     : base(manager)
 {
     Initialize();
 }