Index
All Classes and Interfaces|All Packages|Constant Field Values
G
- gamesFragment - Variable in class com.l2h1.tamagotchi.activities.HouseActivity
- GamesFragment - Class in com.l2h1.tamagotchi.fragments
-
Fragment representing the games room, where users can play with their Tamagotchi.
- GamesFragment() - Constructor for class com.l2h1.tamagotchi.fragments.GamesFragment
-
Default empty constructor, required for replacement management.
- getAnimationResID(LivingEntity, boolean) - Static method in class com.l2h1.tamagotchi.fragments.FoodFragment
-
Returns the animation's resource ID according to whether the entity is in a critical or stable state, and whether it is eating or not.
- getCountPills() - Method in class com.l2h1.tamagotchi.model.states.State.HealthState
-
Retrieves the number of pills taken.
- getCriticalType() - Method in class com.l2h1.tamagotchi.model.states.State.EntertainmentState
- getCriticalType() - Method in class com.l2h1.tamagotchi.model.states.State.FatigueState
- getCriticalType() - Method in class com.l2h1.tamagotchi.model.states.State
-
Represents the
State.CriticalTypeof state to be returned depending (or not) on its value. - getCriticalType() - Method in class com.l2h1.tamagotchi.model.states.State.HealthState
- getCriticalType() - Method in class com.l2h1.tamagotchi.model.states.State.HungerState
- getCriticalType() - Method in class com.l2h1.tamagotchi.model.states.State.HygieneState
- getCriticalType() - Method in class com.l2h1.tamagotchi.model.states.State.SociabilityState
- getDataFromFile(String) - Method in class com.l2h1.tamagotchi.utils.json.JSONHelper
-
Retrieves the data as
JSONObjectfrom the file of the specified name. - getDateOfBirth() - Method in class com.l2h1.tamagotchi.model.Entity
- getDeathType() - Method in class com.l2h1.tamagotchi.model.DeadEntity
-
Retrieves the
State.DeathTypeof the entity. - getDeathType() - Method in class com.l2h1.tamagotchi.model.states.State.EntertainmentState
- getDeathType() - Method in class com.l2h1.tamagotchi.model.states.State.FatigueState
- getDeathType() - Method in class com.l2h1.tamagotchi.model.states.State
-
Represents the
State.DeathTypeof state to be returned depending (or not) on its value. - getDeathType() - Method in class com.l2h1.tamagotchi.model.states.State.HealthState
- getDeathType() - Method in class com.l2h1.tamagotchi.model.states.State.HungerState
- getDeathType() - Method in class com.l2h1.tamagotchi.model.states.State.HygieneState
- getDeathType() - Method in class com.l2h1.tamagotchi.model.states.State.SociabilityState
- getDiscovered() - Method in class com.l2h1.tamagotchi.model.DeadEntity
-
Retrieves the discovery timestamp of the entity.
- getHouse() - Method in class com.l2h1.tamagotchi.activities.HouseActivity
-
Gives the
Houseinstance of this activity. - getMenuView() - Method in class com.l2h1.tamagotchi.activities.HouseActivity
-
Gives the
BottomNavigationViewinstance of this activity. - getName() - Method in class com.l2h1.tamagotchi.model.Entity
-
Retrieves the name of the entity.
- getName() - Method in class com.l2h1.tamagotchi.model.House
-
Retrieves the name of the house.
- getResident() - Method in class com.l2h1.tamagotchi.model.House
-
Retrieves this house resident.
- getResult(RPS, RPS) - Static method in enum class com.l2h1.tamagotchi.utils.RPS
-
Gives the
RPS.RESULT(win, lose or tie) of an RPS game between two players. - getResultText(RPS.RESULT) - Static method in enum class com.l2h1.tamagotchi.utils.RPS
-
Gives a
Stringrepresenting aRPS.RESULT. - getScreenTimeRetrieved() - Method in class com.l2h1.tamagotchi.activities.HouseActivity
-
Returns the screen time retrieved when checking permissions.
- getStates() - Method in class com.l2h1.tamagotchi.model.LivingEntity
-
Retrieves the entity's states
Map. - getStringName() - Method in class com.l2h1.tamagotchi.model.states.State
-
Retrieves the name of this state.
- getType() - Method in class com.l2h1.tamagotchi.model.states.State
-
Retrieves the
State.StateTypeof this state. - getValue() - Method in class com.l2h1.tamagotchi.model.states.State
-
Retrieves the value of this state.
All Classes and Interfaces|All Packages|Constant Field Values