public TrainingPanel(EmoEngineManager emoEngineParam, EdkDll.EE_CognitivAction_t trainingActionParam) { emoEngine = emoEngineParam; trainingAction = trainingActionParam; VerticalAlignment = VerticalAlignment.Center; HorizontalAlignment = HorizontalAlignment.Center; Orientation = Orientation.Vertical; Margin = new Vector4F(20); RenderScale = new Vector2F(1.5f); switch (trainingActionParam) { case EdkDll.EE_CognitivAction_t.COG_NEUTRAL: Name = "Neutral"; break; case EdkDll.EE_CognitivAction_t.COG_PULL: Name = "Backward"; break; case EdkDll.EE_CognitivAction_t.COG_PUSH: Name = "Forward"; break; case EdkDll.EE_CognitivAction_t.COG_LEFT: Name = "Turn Left"; break; case EdkDll.EE_CognitivAction_t.COG_RIGHT: Name = "Turn Right"; break; } Initialize(); }
public MainPanel(EmoEngineManager emoEngineParam) { this.emoEngine = emoEngineParam; VerticalAlignment = VerticalAlignment.Center; HorizontalAlignment = HorizontalAlignment.Center; Orientation = Orientation.Horizontal; Initialize(); }
public ContactQuality(EmoEngineManager emoEngineParam) { emoEngine = emoEngineParam; HorizontalAlignment = HorizontalAlignment.Center; VerticalAlignment = VerticalAlignment.Center; Initialize(); }
public ContactQualityWindow(EmoEngineManager emoEngineParam) { emoEngine = emoEngineParam; VerticalAlignment = VerticalAlignment.Stretch; Title = "Contact Quality"; HideOnClose = false; CanDrag = false; Initialize(); }
public Settings(EmoEngineManager emoEngineParam) { emoEngine = emoEngineParam; VerticalAlignment = VerticalAlignment.Stretch; Title = "Settings"; HideOnClose = false; CanDrag = false; Initialize(); }
public LoadUser(EmoEngineManager emoEngine) { this.emoEngine = emoEngine; IsModal = true; Title = "Load User"; HideOnClose = false; VerticalAlignment = VerticalAlignment.Center; HorizontalAlignment = HorizontalAlignment.Center; Initialize(); CloseButtonStyle = ""; }
public MainComponent(Game game) : base(game) { // Get the required services from the game's service provider. _inputService = (IInputService)game.Services.GetService(typeof(IInputService)); _uiService = (IUIService)game.Services.GetService(typeof(IUIService)); _animationService = (IAnimationService)game.Services.GetService(typeof(IAnimationService)); Content = Game.Content; _emoEngine = new EmoEngineManager(); _emoEngine.StartEmoEngine(); }
public ControlPanel(EmoEngineManager emoEngine) { this.emoEngine = emoEngine; Initialize(); }