mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added pixi view controller - prepared architecture for multiple view systems - e.g. three, ivank, pixi but havent implemented any new ones yet
This commit is contained in:
parent
efc5bc23b7
commit
f2fb716689
4 changed files with 221 additions and 102 deletions
23
app/Game/Client/View/Views/PixiView.js
Executable file
23
app/Game/Client/View/Views/PixiView.js
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
define([
|
||||
"Game/Client/View/ViewController",
|
||||
"Game/Client/View/DomController",
|
||||
"Lib/Vendor/Pixi",
|
||||
"Game/Config/Settings",
|
||||
"Game/Client/View/CameraController"
|
||||
],
|
||||
|
||||
function (Parent, DomController, Pixi, Settings, CameraController) {
|
||||
|
||||
function PixiView () {
|
||||
|
||||
Parent.call(this);
|
||||
}
|
||||
|
||||
PixiView.prototype = Object.create(Parent.prototype);
|
||||
|
||||
PixiView.prototype.init = function() {
|
||||
Parent.prototype.init.call(this);
|
||||
};
|
||||
|
||||
return PixiView;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue