mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +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;
|
|
|
|
}
|
|
|
|
} |