public TextEditor(int x, int y)
 {
     _text = DependencyInjection.Resolve<IText>();
     _mouseInput = DependencyInjection.Resolve<IMouseInput>();
     _keyboardControl = DependencyInjection.Resolve<IKeyboardControl>();
     Position = new Vector2(x, y);
     Visible = true;
 }
Beispiel #2
0
 public TextEditor(int x, int y)
 {
     _text            = DependencyInjection.Resolve <IText>();
     _mouseInput      = DependencyInjection.Resolve <IMouseInput>();
     _keyboardControl = DependencyInjection.Resolve <IKeyboardControl>();
     Position         = new Vector2(x, y);
     Visible          = true;
 }