-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced animation hooks to work with view routing. Fixed link orderi…
…ng. Started implementing battle view's view-model definitions - tested with 'scient' from 'BattleService.initial_state()' and dependancies.
- Loading branch information
juraj
committed
Jun 13, 2013
1 parent
f558e8f
commit 6418895
Showing
8 changed files
with
570 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
"use strict"; | ||
|
||
/* ===================================================================================================================== | ||
* Binary tactics: 'data model' definition | ||
* ================================================================================================================== */ | ||
|
||
// Initialize data model | ||
// --------------------------------------------------------------------------------------------------------------------- | ||
bt.model.common = { | ||
|
||
// Basic elements namespace | ||
elements : { | ||
|
||
// Holds basic elements definitions / types | ||
definitions : { | ||
E : 'Earth', | ||
F : 'Fire', | ||
I : 'Ice', | ||
W : 'Wind' | ||
} | ||
|
||
}, | ||
|
||
// Basic weapons namespace | ||
weapons : { | ||
|
||
// Holds basic weapons definitions / types | ||
definitions : { | ||
sword : 'sword', | ||
bow : 'bow', | ||
wand : 'wand', | ||
glove : 'glove' | ||
} | ||
|
||
}, | ||
|
||
// Basic unit namespace | ||
units : { | ||
|
||
// Holds basic unit definitions / types | ||
definitions : { | ||
scient : 'scient', | ||
nescient : 'nescient' | ||
} | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.