Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
|
e1b4797e2a | 2 years ago |
|
6e85f74a67 | 2 years ago |
![]() |
98b52965b8 | 2 years ago |
![]() |
80585a5c86 | 2 years ago |
|
e26c5cf7ba | 2 years ago |
|
9d18a5b340 | 2 years ago |
|
121737ce63 | 2 years ago |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,41 +1,55 @@
|
|||||||
# Diagramme de classes
|
# Diagramme de classes
|
||||||
|
|
||||||
title: Animal example
|
|
||||||
|
|
||||||
---
|
---
|
||||||
```
|
|
||||||
mermaid
|
|
||||||
|
|
||||||
|
```mermaid
|
||||||
classDiagram
|
classDiagram
|
||||||
|
|
||||||
class User{
|
class MainActivity{
|
||||||
+String name
|
+onCreate()
|
||||||
+int NbEntiteTuee
|
+onPause()
|
||||||
}
|
+onResume()
|
||||||
|
+onDestroy()
|
||||||
class PlayerActif{
|
+startGame()
|
||||||
+int currentLevel
|
+showGameOver()
|
||||||
+ChangeCurrentLevel(int)
|
+showInstruction()
|
||||||
+Play()
|
}
|
||||||
}
|
|
||||||
note for PlayerActif "Joueur en jeu"
|
class Game{
|
||||||
|
+onTap()
|
||||||
class PlayerStatic{
|
+onShake()
|
||||||
+int score
|
+start()
|
||||||
+float percentToSuper
|
+stop()
|
||||||
+HandleUseSuper()
|
+quit()
|
||||||
}
|
}
|
||||||
note for PlayerStatic "Joueur dans les menus"
|
|
||||||
|
class Marmotheque{
|
||||||
User <|-- PlayerActif
|
+generateMole()
|
||||||
User <|-- PlayerStatic
|
}
|
||||||
|
|
||||||
class Level{
|
class Marmotte{
|
||||||
+int number
|
-bool State
|
||||||
+String sescription
|
+takeHit()
|
||||||
+float time
|
+move()
|
||||||
+int nbTotEnemy
|
+isDead()
|
||||||
+int nbEnemyDown
|
}
|
||||||
}
|
|
||||||
PlayerActif --> Level : currentLvl
|
class Level{
|
||||||
```
|
+int number
|
||||||
|
+String description
|
||||||
|
+float time
|
||||||
|
+int nbEnemyLeft
|
||||||
|
+getMarmottes()
|
||||||
|
}
|
||||||
|
|
||||||
|
class Player{
|
||||||
|
-String Name
|
||||||
|
-int score
|
||||||
|
}
|
||||||
|
|
||||||
|
Level -- Player
|
||||||
|
Marmotheque -- Marmotte
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
>note for Marmotheque "Gestionnaire des marmottes (*utile si il s'agit d'une liste ?*)"
|
@ -1,20 +1,3 @@
|
|||||||
# Projet Android
|
# Projet Android
|
||||||
|
|
||||||
Par ***Ballandras Pierre*** & ***Ferreira Pierre***
|
## **!!! MASTER N'EST PAS LA BRANCHE PRINCIPALE, VEUILLEZ VOUS INTERESSER À LA BRANCHE ``MoleGrid`` !!!**
|
||||||
|
|
||||||
## Idée du projet (Non definitif)
|
|
||||||
|
|
||||||
Application pour prendre des photos, puis de pouvoir les modifier ( filtre couleur, luminosité) avec recherche intégrée.
|
|
||||||
|
|
||||||
## Construction du projet
|
|
||||||
|
|
||||||
Au lancement de l'application, l'utilisateur à acces à la camera.
|
|
||||||
Il peut prendre une photo, ou choisir une photo pour ensuite la modifier.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Idée du projet
|
|
||||||
|
|
||||||
Jeu de marteau sur marmottes
|
|
@ -1,64 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent"/>
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/linearLayout"
|
|
||||||
android:layout_width="409dp"
|
|
||||||
android:layout_height="50dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent">
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/button"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:text="Button" />
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/button2"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:text="Home" />
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/button3"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:text="Goto" />
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/textView"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/page_de_depart"
|
|
||||||
app:layout_constraintBottom_toTopOf="@+id/linearLayout"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <androidx.fragment.app.FragmentContainerView-->
|
|
||||||
<!-- android:id="@+id/nav_host_fragment"-->
|
|
||||||
<!-- android:name="androidx.navigation.fragment.NavHostFragment"-->
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
|
|
||||||
<!-- app:layout_constraintRight_toRightOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
|
|
||||||
<!-- app:defaultNavHost="true"-->
|
|
||||||
<!-- app:navGraph="@navigation/nav_graph" />-->
|
|
||||||
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:id="@+id/nav_graph">
|
|
||||||
|
|
||||||
</navigation>
|
|
@ -1,5 +1,3 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Pierre&Pierre</string>
|
<string name="app_name">Pierre&Pierre</string>
|
||||||
<string name="page_de_depart">Page de départ</string>
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in new issue