-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocumentation.html
More file actions
67 lines (59 loc) · 1.6 KB
/
Documentation.html
File metadata and controls
67 lines (59 loc) · 1.6 KB
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
<html>
<head>
<title>Documentation</title>
<style type="text/css">
.item {
display: block;
border: 1px solid #000000;
padding: 5px;
margin: 5px;
}
.item_header {
cursor: pointer;
}
.item_content {
display: none;
margin-top: 5px;
padding-top: 5px;
border-top: 1px solid #000000;
}
.item_content .description {
}
.item_content .method {
margin-top: 5px;
padding: 5px;
background: #dddddd;
border: 1px solid #bbbbbb;
}
</style>
<script type="text/javascript" >
function showHideItem(itemID) {
var item = document.getElementById(itemID);
if(item.style.display != 'block') item.style.display = 'block';
else item.style.display = 'none';
}
</script>
</head>
<body>
<div id="index">
</div>
<div class="group">
<div class="item">
<a name="Scene"></a>
<div class="item_header" onclick="showHideItem('Scene');">Scene</div>
<div class="item_content" id="Scene">
<div class="description">
A Scene is where everything in the game takes place. Think of a scene as a level in a game. Everything must take place within a level, but there can be multiple levels to a game.
</div>
<div class="method">
<b>Constructor:</b> new Scene(Object arguments)<br />
Object arguments may contain the following properties:<br />
<b>width</b> the width (in pixels) of the scene<br />
<b>height</b> the height (in pixels) of the scene<br />
<b>tileset</b> the TileSet object to use in the scene<br />
</div>
</div>
</div>
</div>
</body>
</html>