Exemplo n.º 1
0
		public PokeControl(ScreenInterface Screen, int x, int y, int w, int h) {
			this.Screen = Screen;

			this.x = x;
			this.y = y;
			this.Width = w;
			this.Height = h;

			this.SpriteBatch = Screen.SpriteBatch;
			this.Visible = true;
		}
Exemplo n.º 2
0
        public PokeControl(ScreenInterface Screen, int x, int y, int w, int h)
        {
            this.Screen = Screen;

            this.x      = x;
            this.y      = y;
            this.Width  = w;
            this.Height = h;

            this.SpriteBatch = Screen.SpriteBatch;
            this.Visible     = true;
        }
Exemplo n.º 3
0
		public void Initialize(ControlEditorView control, GraphicsDevice graphicsdevice, IServiceProvider services) {
			this.Control = control;
			this.GraphicsDevice = graphicsdevice;
			this.Services = services;
			this.StateMachine = new FiniteStateMachine();

			this.ActionManagers = new Dictionary<string, ActionManager>();

			this.ScreenInterface = new EditorInterface(control);

			//DataLoader.Initialize();
			FontRenderer.Instance.Initialize(GraphicsDevice);
		}