UNPKG

gamerocket

Version:

Gamerocket NodeJS Client Library

34 lines (22 loc) 978 B
(function() { var AchievementGateway, ActionGateway, GameGateway, GameRocketGateway, Http, PlayerGateway, PurchaseGateway; Http = require('./http').Http; PlayerGateway = require("./player_gateway").PlayerGateway; ActionGateway = require("./action_gateway").ActionGateway; AchievementGateway = require("./achievement_gateway").AchievementGateway; GameGateway = require("./game_gateway").GameGateway; PurchaseGateway = require("./purchase_gateway").PurchaseGateway; GameRocketGateway = (function() { function GameRocketGateway(config) { this.config = config; this.http = new Http(this.config); this.player = new PlayerGateway(this); this.action = new ActionGateway(this); this.achievement = new AchievementGateway(this); this.game = new GameGateway(this); this.purchase = new PurchaseGateway(this); } return GameRocketGateway; })(); exports.GameRocketGateway = GameRocketGateway; }).call(this);