Skip to content

Instantly share code, notes, and snippets.

@itsbriany
Created November 29, 2019 23:48
Show Gist options
  • Save itsbriany/7252edb8bcf5e457d55d4c89fc8f1700 to your computer and use it in GitHub Desktop.
Save itsbriany/7252edb8bcf5e457d55d4c89fc8f1700 to your computer and use it in GitHub Desktop.
public final void play(@NotNull final View view) {
Intrinsics.checkParameterIsNotNull(view, "view");
this.saveActivity("p");
this.changeMass(-2);
this.changeHappy(4);
this.changeClean(-1);
this.playUi();
}
public final void clean(@NotNull final View view) {
Intrinsics.checkParameterIsNotNull(view, "view");
this.saveActivity("c");
this.removePoo();
this.cleanUi();
this.changeMass(0);
this.changeHappy(-1);
this.changeClean(6);
this.setMood();
}
public final void feed(@NotNull final View view) {
Intrinsics.checkParameterIsNotNull(view, "view");
this.saveActivity("f");
this.changeMass(10);
this.changeHappy(2);
this.changeClean(-1);
this.incrementPooCount();
this.feedUi();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment