phaser/Phaser/renderers/HeadlessRenderer.ts

31 lines
685 B
TypeScript
Raw Normal View History

/// <reference path="../_definitions.ts" />
2013-05-28 20:38:37 +00:00
module Phaser.Renderer.Headless {
2013-05-28 20:38:37 +00:00
export class HeadlessRenderer implements Phaser.IRenderer {
2013-05-29 01:58:56 +00:00
constructor(game: Phaser.Game) {
this.game = game;
2013-05-28 20:38:37 +00:00
}
public game: Phaser.Game;
public renderCount: number;
2013-05-28 20:38:37 +00:00
public render() {
// Nothing, headless remember?
}
public renderGameObject(camera, object) {
// Nothing, headless remember?
2013-08-08 10:34:33 +00:00
}
public cameraRenderer;
public groupRenderer;
public spriteRenderer;
public geometryRenderer;
public scrollZoneRenderer;
public tilemapRenderer;
2013-05-28 20:38:37 +00:00
}
}