Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
El Legado De Pintia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
diegval
El Legado De Pintia
Commits
7e7b242e
Commit
7e7b242e
authored
4 months ago
by
victor
Browse files
Options
Downloads
Patches
Plain Diff
Feature:
arreglos callej2
parent
bba3fb58
No related branches found
Branches containing commit
No related tags found
1 merge request
!65
Feature:
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/com/example/ellegadodepintia/exploradoresDePintia/ExploradoresDePintia.kt
+7
-1
7 additions, 1 deletion
...gadodepintia/exploradoresDePintia/ExploradoresDePintia.kt
with
7 additions
and
1 deletion
app/src/main/java/com/example/ellegadodepintia/exploradoresDePintia/ExploradoresDePintia.kt
+
7
−
1
View file @
7e7b242e
...
...
@@ -28,9 +28,11 @@ import com.example.ellegadodepintia.exploradoresDePintia.model.GameState
import
com.example.ellegadodepintia.exploradoresDePintia.model.GeneradorDeEventos
import
com.example.ellegadodepintia.exploradoresDePintia.model.LayoutUtils
import
com.example.ellegadodepintia.exploradoresDePintia.model.GestorDeEventos
import
com.example.ellegadodepintia.repositorios.RepositorioJugador
import
com.example.ellegadodepintia.repositorios.RepositorioObjetos
import
com.example.ellegadodepintia.soundManager.SoundManager
import
java.lang.ref.WeakReference
import
java.util.ArrayList
class
ExploradoresDePintia
:
AppCompatActivity
()
{
private
lateinit
var
soundManager
:
SoundManager
...
...
@@ -40,7 +42,11 @@ class ExploradoresDePintia : AppCompatActivity() {
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
//RepositorioJugador.setInventario(ArrayList())
//Habria que vaciar de la base de datos el inventario del jugador, por si se sale, que pierda
//todo el inventario, al terminar la partida, si queremos guardar algun objeto, se hace al final una
//carga a la base de datos, habria que cambiar todos los metodos que dan objetos al personaje
//para que solo se guarden en local.
setContentView
(
R
.
layout
.
activity_exploradores_de_pintia
)
soundManager
=
SoundManager
(
this
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment