From 146dd8519259763af33cbd52d34ca350160c7c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Salom=C3=A9=20Tredici=20Cerimeli?= Date: Tue, 7 May 2019 23:39:58 -0300 Subject: [PATCH] =?UTF-8?q?Spawn=20en=20el=20bote=20y=20bot=C3=B3n=20de=20?= =?UTF-8?q?inventario=20en=20el=20men=C3=BA=20principal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CShark/Managers/MenuManager.cs | 1 + CShark/Model/GameModel.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CShark/Managers/MenuManager.cs b/CShark/Managers/MenuManager.cs index 13f4f4af2..1d446f1d9 100644 --- a/CShark/Managers/MenuManager.cs +++ b/CShark/Managers/MenuManager.cs @@ -29,6 +29,7 @@ public void Initialize() { MenuSeleccionado = MenuPrincipal; + MenuPrincipal.AgregarBoton("Inventario", j => j.CambiarMenu(TipoMenu.Inventario)); MenuPrincipal.AgregarBoton("Opciones", j => j.CambiarMenu(TipoMenu.Opciones)); MenuPrincipal.AgregarBoton("Variables", j => j.CambiarMenu(TipoMenu.Variables)); MenuPrincipal.AgregarBoton("Cheats", j => j.CambiarMenu(TipoMenu.Principal)); diff --git a/CShark/Model/GameModel.cs b/CShark/Model/GameModel.cs index fa26de448..94fb019c3 100644 --- a/CShark/Model/GameModel.cs +++ b/CShark/Model/GameModel.cs @@ -78,7 +78,7 @@ public override void Update() { } private void Start() { - var posInicial = GameManager.SpawnPlayer; + var posInicial = new TGCVector3(1500f, 3050f, 0); Player = new Player(posInicial, 500, 1000, Input); Camara = Player.CamaraInterna; }