Skip to content

Commit

Permalink
Spawn en el bote y botón de inventario en el menú principal
Browse files Browse the repository at this point in the history
  • Loading branch information
salometredici committed May 8, 2019
1 parent 20c06a6 commit 146dd85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CShark/Managers/MenuManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion CShark/Model/GameModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 146dd85

Please sign in to comment.