-
Notifications
You must be signed in to change notification settings - Fork 0
/
CameraWorld.html
110 lines (99 loc) · 4.85 KB
/
CameraWorld.html
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Camera World</title>
<script>
var world = world || {};
function start() {
world = new GameWorld();
}
</script>
</head>
<body onload="start();">
<div id="main-layout" class="mdl-layout mdl-js-layout">
<link rel="import" href="templates/mdl/topnav.html">
<main class="mdl-layout__content">
<div id="main-content" class="page-content">
<div class="content-grid mdl-grid">
<div class="mdl-cell mdl-cell--8-col mdl-cell--4-col-tablet mdl-shadow--16dp">
<div class="mdl-card__title">
<button id="menu-bottom-left"
class="mdl-button mdl-js-button mdl-button--icon mdl-button--colored">
<i class="material-icons">more_vert</i>
</button>
<div class="mdl-tooltip" data-mdl-for="menu-bottom-left">
Do <strong>things!</strong>
</div>
<ul class="mdl-menu mdl-menu--bottom-left mdl-js-menu mdl-js-ripple-effect"
data-mdl-for="menu-bottom-left">
<li class="mdl-menu__item">Some Action</li>
<li disabled class="mdl-menu__item">Disabled Action</li>
<li class="mdl-menu__item">Yet Another Action</li>
</ul>
<h2 class="mdl-card__title-text">Camera World</h2>
</div>
<div class="mdl-card__supporting-text">
<button class="btn btn-primary" onclick="solve();" style="width:150px;height:50px;margin-bottom:5px;">
Show Solution
</button>
<button class="btn btn-success" onclick="gofast();" style="width:150px;height:50px;margin-bottom:5px;">
Go Fast
</button>
<button class="btn btn-success" onclick="gonormal();" style="width:150px;height:50px;margin-bottom:5px;">
Go Normal
</button>
<button class="btn btn-success" onclick="goslow();" style="width:150px;height:50px;margin-bottom:5px;">
Go Slow
</button>
<div id="game-container"></div>
</div>
</div>
<div class="mdl-cell mdl-cell--4-col mdl-cell--2-col-tablet mdl-shadow--16dp">
<div class="mdl-card__title">
<button id="menu-bottom-left"
class="mdl-button mdl-js-button mdl-button--icon mdl-button--colored">
<i class="material-icons">more_vert</i>
</button>
<div class="mdl-tooltip" data-mdl-for="menu-bottom-left">
Do <strong>things!</strong>
</div>
<ul class="mdl-menu mdl-menu--bottom-left mdl-js-menu mdl-js-ripple-effect"
data-mdl-for="menu-bottom-left">
<li class="mdl-menu__item">Some Action</li>
<li disabled class="mdl-menu__item">Disabled Action</li>
<li class="mdl-menu__item">Yet Another Action</li>
</ul>
<h2 class="mdl-card__title-text">Graph</h2>
</div>
<div class="mdl-card__supporting-text">
<div id="flotreward" style="width:600px; height: 400px;"></div>
</div>
</div>
</div>
</div>
</main>
</div>
<script src="js/lib/external/rl.js"></script>
<script src="js/lib/Utility.js"></script>
<script src="js/lib/Vec.js"></script>
<script src="js/lib/QuadTree.js"></script>
<script src="js/lib/Window.js"></script>
<script src="js/lib/CollisionDetector.js"></script>
<script src="js/lib/Maze.js"></script>
<script src="js/lib/graphing/FlotGraph.js"></script>
<script src="js/lib/grid/Cell.js"></script>
<script src="js/lib/grid/CellShape.js"></script>
<script src="js/lib/grid/Grid.js"></script>
<script src="js/lib/grid/HexGrid.js"></script>
<script src="js/lib/game/Game.js"></script>
<script src="js/lib/game/GameObject.js"></script>
<script src="js/entities/Wall.js"></script>
<script src="js/entities/Entity.js"></script>
<script src="js/entities/Agent.js"></script>
<script src="js/environments/GameWorld.js"></script>
<script src="js/lib/game/Camera.js"></script>
</body>
</html>