Index
All Classes and Interfaces|All Packages|Constant Field Values
S
- SADNESS - Enum constant in enum class com.l2h1.tamagotchi.model.states.Mood
- save(JSONable, String) - Method in class com.l2h1.tamagotchi.activities.HouseActivity
-
Saves the
JSONableobject in the specified file name, only if the activity'sJSONHelperobject is notnull. - saveInitSoapXY(float, float) - Method in class com.l2h1.tamagotchi.fragments.HygieneFragment
-
Retrieves the X and Y coordinates of the soap at the moment the user's finger is first placed on the screen.
- saveJSONToFile(JSONable, String) - Method in class com.l2h1.tamagotchi.utils.json.JSONHelper
-
Saves the specified
JSONableobject asJSONObjectin a file of the specified name. - scheduler - Variable in class com.l2h1.tamagotchi.model.House
- scheduleSimulation() - Method in class com.l2h1.tamagotchi.model.House
-
Schedule a periodic execution of the simulation command.
- SCISSORS - Enum constant in enum class com.l2h1.tamagotchi.utils.RPS
- scissorsButton - Variable in class com.l2h1.tamagotchi.fragments.GamesFragment
- screenTime - Variable in class com.l2h1.tamagotchi.activities.HouseActivity
- screenTime - Variable in class com.l2h1.tamagotchi.model.states.State.FatigueState
- SENSOR_ACCELERATION - Static variable in class com.l2h1.tamagotchi.fragments.HomeFragment
- sensorManager - Variable in class com.l2h1.tamagotchi.fragments.HomeFragment
- sensorShake - Variable in class com.l2h1.tamagotchi.fragments.HomeFragment
- sensorStep - Variable in class com.l2h1.tamagotchi.fragments.HomeFragment
- setAlive(boolean) - Method in class com.l2h1.tamagotchi.model.Entity
-
Sets the alive status of the entity.
- setBackground() - Method in class com.l2h1.tamagotchi.fragments.HomeFragment
-
Sets the
HomeFragmentbackground according to the time of day. - setCountPills(int) - Method in class com.l2h1.tamagotchi.model.states.State.HealthState
-
Sets the number of pills taken.
- setDateOfBirth(long) - Method in class com.l2h1.tamagotchi.model.Entity
- setDeathType(State.DeathType) - Method in class com.l2h1.tamagotchi.model.DeadEntity
-
Sets the
State.DeathTypeof the entity. - setHouses(List<ImageButton>, List<TextView>) - Method in class com.l2h1.tamagotchi.activities.MainMenuActivity
-
Configures the appearance of house buttons and their text according to the name of the house and the state of the entity living inside it.
- setName(String) - Method in class com.l2h1.tamagotchi.model.Entity
-
Sets the name of the entity.
- setOnEntityDeadListener(OnEntityDeadListener) - Method in class com.l2h1.tamagotchi.model.LivingEntity
-
Register a callback to be invoked when this entity dies.
- setOnStateValueChangedListener(OnStateValueChangedListener) - Method in class com.l2h1.tamagotchi.model.LivingEntity
-
Register a callback to be invoked when the state values of this entity change.
- setOnTimePassedListener(OnTimePassedListener) - Method in class com.l2h1.tamagotchi.model.House
-
Register a callback to be invoked when the time passed in the active simulation.
- setScreenTime(double) - Method in class com.l2h1.tamagotchi.model.states.State.FatigueState
- setTimestamp(long) - Method in class com.l2h1.tamagotchi.model.DeadEntity
-
Sets the discovery timestamp of the entity.
- setValue(double) - Method in class com.l2h1.tamagotchi.model.states.State
-
Sets the value of this state
- showInstructions() - Method in class com.l2h1.tamagotchi.fragments.HomeFragment
-
Displays a
Dialogdetailing all game instructions. - showLetter(DeadEntity) - Method in class com.l2h1.tamagotchi.activities.EntityDeadActivity
- SICK - Enum constant in enum class com.l2h1.tamagotchi.model.states.State.CriticalType
- simulateWithTimestamps(long, long) - Method in class com.l2h1.tamagotchi.model.House
-
Performs passive simulation for the resident for a given time elapsed (calculated from the two arguments).
- soapX - Variable in class com.l2h1.tamagotchi.fragments.HygieneFragment
- soapY - Variable in class com.l2h1.tamagotchi.fragments.HygieneFragment
- SOCIABILITY - Enum constant in enum class com.l2h1.tamagotchi.model.states.State.StateType
- SOCIABILITY_TICK - Static variable in class com.l2h1.tamagotchi.model.states.State
- sociabilityImageView - Variable in class com.l2h1.tamagotchi.fragments.HomeFragment
- sociabilityProgressBar - Variable in class com.l2h1.tamagotchi.fragments.HomeFragment
- SociabilityState() - Constructor for class com.l2h1.tamagotchi.model.states.State.SociabilityState
-
Constructs a
State.SociabilityStatewith a default value of 500. - sociabilityTextView - Variable in class com.l2h1.tamagotchi.fragments.HomeFragment
- SOLITUDE - Enum constant in enum class com.l2h1.tamagotchi.model.states.State.DeathType
- startDrag(View, double) - Method in class com.l2h1.tamagotchi.fragments.HealthFragment
-
Starts the drag and drop process with the medication value specified to be entered at the time of drop.
- startSimulation() - Method in class com.l2h1.tamagotchi.model.House
-
Starts the house active simulation.
- STARVATION - Enum constant in enum class com.l2h1.tamagotchi.model.states.State.DeathType
- State - Class in com.l2h1.tamagotchi.model.states
-
A state is a characteristic of a
LivingEntity. - State(String, State.StateType) - Constructor for class com.l2h1.tamagotchi.model.states.State
-
Constructs a
Stateof the specified name and type - STATE_GENERAL_MAX_VALUE - Static variable in class com.l2h1.tamagotchi.model.states.State
- STATE_GENERAL_MIN_VALUE - Static variable in class com.l2h1.tamagotchi.model.states.State
- State.CriticalType - Enum Class in com.l2h1.tamagotchi.model.states
-
Critical types for states of a
LivingEntity - State.DeathType - Enum Class in com.l2h1.tamagotchi.model.states
-
Types of death for states of a
LivingEntity - State.EntertainmentState - Class in com.l2h1.tamagotchi.model.states
-
State representing the entertainment of the entity.
- State.FatigueState - Class in com.l2h1.tamagotchi.model.states
-
State representing the fatigue of the entity.
- State.HealthState - Class in com.l2h1.tamagotchi.model.states
-
State representing the health of the entity.
- State.HungerState - Class in com.l2h1.tamagotchi.model.states
-
State representing the hunger of the entity.
- State.HygieneState - Class in com.l2h1.tamagotchi.model.states
-
State representing the hygiene of the entity.
- State.SociabilityState - Class in com.l2h1.tamagotchi.model.states
-
State representing the sociability of the entity.
- State.StateType - Enum Class in com.l2h1.tamagotchi.model.states
-
Types of state of a
LivingEntity - states - Variable in class com.l2h1.tamagotchi.model.LivingEntity
- StateType() - Constructor for enum class com.l2h1.tamagotchi.model.states.State.StateType
- stopSimulation() - Method in class com.l2h1.tamagotchi.model.House
-
Shutdowns the scheduler.
- str - Variable in enum class com.l2h1.tamagotchi.model.states.State.DeathType
- stringName - Variable in class com.l2h1.tamagotchi.model.states.State
All Classes and Interfaces|All Packages|Constant Field Values