Пример #1
0
        NewGuiMenu ITMPluginGUI.GetItemCustomSetupScreen(INewGuiMenuScreen screen, ITMGame game, ITMPlayer player, GlobalPoint3D p, Item itemID)
        {
            switch (itemID)
            {
            case Item.Rasta:
                return(new VehicleSetupScreen(screen, game, player, p));

            default:
                return(null);
            }
        }
Пример #2
0
 public SimpleScreen(INewGuiMenuScreen screen, ITMGame game, ITMPlayer player)
     : base(screen, game, player)
 {
     if (data.TextBox == null)
     {
         // one time initialization of static data
         data.TextBox     = "Some Text";
         data.DataField   = "Edit Me";
         data.SliderValue = 0.5f;
     }
 }
Пример #3
0
 public VehicleSetupScreen(INewGuiMenuScreen screen, ITMGame game, ITMPlayer player, GlobalPoint3D p)
     : base(screen, game, player)
 {
     point = p;
 }