Class LandingController


  • public class LandingController
    extends java.lang.Object
    The MainController handles controlling whether or not to log the player in and also registration.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onRegistration​(java.lang.String username, java.lang.String phoneNo, java.lang.String email)
      Attempts to register player given the credentials
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LandingController

        public LandingController​(LandingActivity activity)
    • Method Detail

      • onRegistration

        public void onRegistration​(java.lang.String username,
                                   java.lang.String phoneNo,
                                   java.lang.String email)
        Attempts to register player given the credentials
        Parameters:
        username - username to register account with
        phoneNo - phone number to register account with
        email - email to register account with