2013-05-28 20:38:37 +00:00
|
|
|
/// <reference path="../Game.ts" />
|
|
|
|
|
|
|
|
module Phaser {
|
|
|
|
|
|
|
|
export interface IRenderer {
|
|
|
|
|
|
|
|
render();
|
2013-06-01 00:30:36 +00:00
|
|
|
renderGameObject(object);
|
2013-05-28 20:38:37 +00:00
|
|
|
renderSprite(camera: Camera, sprite: Sprite): bool;
|
2013-05-30 04:34:35 +00:00
|
|
|
renderScrollZone(camera: Camera, sprite: ScrollZone): bool;
|
2013-06-03 11:03:34 +00:00
|
|
|
renderCircle(camera: Camera, circle: Circle, context, outline?: bool, fill?: bool, lineColor?: string, fillColor?: string, lineWidth?: number);
|
2013-06-06 01:47:08 +00:00
|
|
|
preRenderGroup(camera: Camera, group: Group);
|
|
|
|
postRenderGroup(camera: Camera, group: Group);
|
|
|
|
preRenderCamera(camera: Camera);
|
|
|
|
postRenderCamera(camera: Camera);
|
2013-06-07 06:35:28 +00:00
|
|
|
|
|
|
|
inCamera(camera: Camera, sprite: Sprite): bool;
|
2013-06-03 11:03:34 +00:00
|
|
|
|
2013-05-28 20:38:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|