Editor.AmphibianGameControl.Initialize C# (CSharp) Method

Initialize() protected method

protected Initialize ( ) : void
return void
        protected override void Initialize()
        {
            base.Initialize();

            _engine = new Engine(GraphicsDeviceService);
            _engine.Content.RootDirectory = "Content";

            map = new TileMap("");

            // Frame
            frame = new Frame(_engine);
            frame.Width = 2000;
            frame.Height = 720;

            // Objects
            Frog frog = new Frog(400, 200);
            frog.Name = "frog";
            frame.AddComponent(frog);

            //_viewport = new EditorViewport(MainForm as Form1, map);
        }