PETBaseNotification

Base class extended by all the Notification classes

class modules.js.Notification.PETBaseNotification()
modules.js.Notification.PETBaseNotification.PETBaseNotification

constructor

modules.js.Notification.PETBaseNotification.baseNotificationHandler(notification)

Handler callback for notifications sent to all players, in order to avoid code duplication

Arguments
  • notification (Object()) – notification received from the backend

modules.js.Notification.PETBaseNotification.benefitNotificationHandler(notification)

Handler callback for discovering cards notifications

Arguments
  • notification (Object()) – notification received from the backend