phaser/Phaser/renderers/HeadlessRenderer.ts

33 lines
762 B
TypeScript
Raw Normal View History

2013-05-28 20:38:37 +00:00
/// <reference path="../Game.ts" />
/// <reference path="../cameras/Camera.ts" />
/// <reference path="IRenderer.ts" />
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?
};
public cameraRenderer;
public groupRenderer;
public spriteRenderer;
public geometryRenderer;
public scrollZoneRenderer;
public tilemapRenderer;
2013-05-28 20:38:37 +00:00
}
}