testing
This commit is contained in:
parent
492a4561f2
commit
9797d72815
2 changed files with 22 additions and 1 deletions
|
@ -9,6 +9,6 @@
|
||||||
<div id="game"><div id="ship"></div></div>
|
<div id="game"><div id="ship"></div></div>
|
||||||
<div id="hud"></div>
|
<div id="hud"></div>
|
||||||
<script type="text/javascript" src="js/jquery-1.5.js"></script>
|
<script type="text/javascript" src="js/jquery-1.5.js"></script>
|
||||||
<script type="text/javascript" src="js/main.js"></script>
|
<script type="text/javascript" src="js/wyrian.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
21
js/wyrian.js
Normal file
21
js/wyrian.js
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
var DisplayController = function() {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
var InputController = function() {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
var GameController = function() {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
var Wyrian = function() {
|
||||||
|
// do basic initializations
|
||||||
|
|
||||||
|
var inputController = new InputController(),
|
||||||
|
displayController = new DisplayController(),
|
||||||
|
gameController = new GameController(inputController, displayController);
|
||||||
|
|
||||||
|
}();
|
Loading…
Reference in a new issue