-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
57 lines (57 loc) · 1.48 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//-----------------------------
// Engine exports
//-----------------------------
export {
default as EntityEngine,
ENGINE_EVENTS
} from "./lib/Engine/Core.js";
//-----------------------------
// Entities
//-----------------------------
export { default as Entity } from "./lib/Entities/Entity.js";
//-----------------------------
// Math
//-----------------------------
export { Vector2D } from "./lib/Math/Vector2D.js"
//-----------------------------
// Colliders
//-----------------------------
export { RectCollider } from "./lib/Entities/Collision/Colliders/Rectangle.js"
export { CircleCollider } from "./lib/Entities/Collision/Colliders/Circle.js"
export { Collider } from "./lib/Entities/Collision/Colliders/Collider.js"
//-----------------------------
// Graphics
//-----------------------------
export {
default as SpriteSheet
} from "./lib/Sprites/SpriteSheet.js"
export {
spriteSheetLoader
} from "./lib/Sprites/SpriteSheets.js"
export {
default as Sprite,
DEBUG_SPRITE,
DEBUG_COLOR
} from "./lib/Sprites/Sprite.js"
export {
default as AnimatedSprite,
DEBUG_ANIMATED_SPRITE
} from "./lib/Sprites/AnimatedSprite.js"
export {
CanvasRenderer,
RendererOptions
} from "./lib/Graphics/CanvasRenderer.js"
export {
drawRect,
drawCircle
} from "./lib/Graphics/Renderer.js"
//-----------------------------
// Type exports
//-----------------------------
export {
vector2D,
rect2D,
rectSize,
circle2D,
HexColor,
} from "./lib/Types/Types.js"