phaser/wip/TS Source/renderers/HeadlessRenderer.ts
2013-09-13 16:24:01 +01:00

31 lines
No EOL
685 B
TypeScript

/// <reference path="../_definitions.ts" />
module Phaser.Renderer.Headless {
export class HeadlessRenderer implements Phaser.IRenderer {
constructor(game: Phaser.Game) {
this.game = game;
}
public game: Phaser.Game;
public renderCount: number;
public render() {
// Nothing, headless remember?
}
public renderGameObject(camera, object) {
// Nothing, headless remember?
}
public cameraRenderer;
public groupRenderer;
public spriteRenderer;
public geometryRenderer;
public scrollZoneRenderer;
public tilemapRenderer;
}
}