/** * Fetches a singleton instance of this class. * * @return RPG_Input */ public static function getInstance() { if (self::$_instance === null) { self::$_instance = new self(); } return self::$_instance; }