async void SaveAxolotlName(object sender, EventArgs e) { axolotl.AxoltolName = AxolotlNameInput.Text; Axolotl.Init(); await DisplayAlert("Meet Your New Pet!", "To get started, tap on the gear icon > Help to get the low down on how to take care of your axoltol", "OK"); await Navigation.PushModalAsync(new Dashboard()); }
void Handle_SlideCompleted(object sender, System.EventArgs e) { Axolotl.CleanTank(); MessageLbl.Text = "All Clean"; MessageLbl.Opacity = 1; MessageLbl.FadeTo(0, 1000); }
private void SpawnAxolotl(Axolotl c, Transform sp, int orders, MealsUI ui, List <Meal> meals, int index) { xolotl = Instantiate(c, sp.transform.position, sp.transform.rotation); xolotl.UI = ui; xolotl.meals = meals; xolotl.numMeals = orders; xolotl.orderIndex = index; }
public void AnimalTests() { //Animal animal = new Animal(); Sloth sloth = new Sloth(); Console.WriteLine(sloth.IsSlow); sloth.Move(); sloth.SayFurColor(); Axolotl axolotl = new Axolotl(); Console.WriteLine(axolotl.IsCute); axolotl.Move(); axolotl.SayFurColor(); //axolotl.NumberOfLegs(4); }
/* async void EditNameTapped(object sender, EventArgs e) * { * await Navigation.PushModalAsync(new EnterNamePage()); * }*/ void OnTapGestureRecognizerTapped(object sender, EventArgs args) { Axolotl.GiveAttention(); }
public void OnDrop(object sender, DropEventArgs e) { Axolotl.ReplaceFitler(); }
void feedAxolotlTapped(System.Object sender, System.EventArgs e) { Axolotl.Feed(); }
void TouchCommand(object sender, EventArgs args) { Axolotl.WaterCold(); }