Skip to content

Commit

Permalink
0.9.0 all game example work
Browse files Browse the repository at this point in the history
  • Loading branch information
playif committed Aug 16, 2014
1 parent db6f200 commit 97fb39d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Expand Up @@ -74,14 +74,15 @@ class basic_01_load_an_image extends State {
```

The number of examples for each class.

* animation
* animation * 4
* arcade physics
* audio * 2
* basics * 4
* basics * 5
* camera * 3
* display * 2
* games * 4
* display * 5
* games * 7
* imput
* loader
* particles
Expand Down
4 changes: 2 additions & 2 deletions lib/loader/loader_parser.dart
Expand Up @@ -14,7 +14,7 @@ class LoaderParser {
data.chars = {
};

List<Element> letters = xml.getElementsByTagName('char');
List letters = xml.getElementsByTagName('char');

for (int i = 0; i < letters.length; i++) {
int charCode = int.parse(letters[i].getAttribute('id'));
Expand All @@ -36,7 +36,7 @@ class LoaderParser {
//};
}

List<Element> kernings = xml.getElementsByTagName('kerning');
List kernings = xml.getElementsByTagName('kerning');

for (int i = 0; i < kernings.length; i++) {
int first = int.parse(kernings[i].getAttribute('first'));
Expand Down

0 comments on commit 97fb39d

Please sign in to comment.