mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 11:33:28 +00:00
21 lines
No EOL
686 B
TypeScript
21 lines
No EOL
686 B
TypeScript
/// <reference path="../Game.ts" />
|
|
|
|
module Phaser {
|
|
|
|
export interface IRenderer {
|
|
|
|
render();
|
|
renderGameObject(object);
|
|
renderSprite(camera: Camera, sprite: Sprite): bool;
|
|
renderScrollZone(camera: Camera, sprite: ScrollZone): bool;
|
|
renderCircle(camera: Camera, circle: Circle, context, outline?: bool, fill?: bool, lineColor?: string, fillColor?: string, lineWidth?: number);
|
|
preRenderGroup(camera: Camera, group: Group);
|
|
postRenderGroup(camera: Camera, group: Group);
|
|
preRenderCamera(camera: Camera);
|
|
postRenderCamera(camera: Camera);
|
|
|
|
inCamera(camera: Camera, sprite: Sprite): bool;
|
|
|
|
}
|
|
|
|
} |