-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCosmic.html
58 lines (53 loc) · 1.78 KB
/
Cosmic.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<!-- en-tete du document -->
<!--<link rel="stylesheet" href="style.css"></link>-->
<title>Cosmic Mahyem</title>
<link rel="stylesheet" href="/style.css"></link>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<script src="/sandmin.js"></script>
<script src="/jquery.js"></script>
<script src="/toDOM.js"></script>
<script src="/Seed.js"></script>
<script src="/Planet.js"></script>
<script src="/UI_bar.js"></script>
<script src="/Species.js"></script>
<script src="/Civilization.js"></script>
<script src="/Power.js"></script>
<script src="/Event.js"></script>
<script src="/System.js"></script>
<script src="/Star.js"></script>
<script src="/God.js"></script>
<script src="/Creation.js"></script>
<script src="/Display.js"></script>
<script src="/Panel.js"></script>
<script src="/Frame.js"></script>
<script src="/View.js"></script>
<script src="/functions.js"></script>
<script type="text/javascript">
var display;
var planet;
var panel;
var frame;
var view;
var UIbar;
var functions;
sand.require('Cosmic/*', function (r) {
functions = r.Cosmic.functions;
planet = new r.Cosmic.Planet();
panel = new r.Cosmic.Panel();
frame = new r.Cosmic.Frame({type : 'two-third'});
UIbar = new r.Cosmic.UI_bar({elements : [{name : 'fire'},{name : 'water'},{name : 'lightning'},{name : 'wind'},{name : 'earth'}]});
frame.stick(UIbar);
frame.stick(planet);
display = new r.Cosmic.Display({ type : 'figure:legend' ,frame : frame, panel : panel});
view = new r.Cosmic.View();
view.stick(display);
view.load();
})
</script>
</body>
</html>