Permalink
Browse files

fixed README

  • Loading branch information...
1 parent b230938 commit 6791fb79bb487738c41c92a14089e34c71e163f2 @boneheadmed committed Apr 16, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 README
View
7 README
@@ -1,5 +1,4 @@
-A plugin for the Impact javascript game engine (http://impactjs.com/). It is meant to approximate Ruby's symbols,
-though not exactly.
+A plugin for the Impact javascript game engine (http://impactjs.com/). It is meant to approximate Ruby's symbols, though not exactly.
How to use:
Create a new plugins folder if one does not exist: lib/plugins
@@ -34,15 +33,15 @@ A number will have been automatically assigned. Saves having to do say
and then having to invoke with this.playerState.RUNNING, etc. Also saves having to set up different states for different entities.
-It is a singleton class and meant to be invoked just once at the begining of the game so that the symbols can be used anywhere. The basic usage above adds the symbols directly to the base igEntity class.
+It is a singleton class and meant to be invoked just once at the begining of the game so that the symbols can be used anywhere. The basic usage above adds the symbols directly to the base ig.Entity class.
2) Add symbols to multiple Impact classes:
You can also extend the symbols to other Impact classes by including the classes in an array as the second parameter.
init: function(){
....
- new ig.Symbols("RUNNING JUMPING HIDING SWIMMING OVER PAUSED", [ig.Entity, ig.Game, ig.Animation);
+ new ig.Symbols("RUNNING JUMPING HIDING SWIMMING OVER PAUSED", [ig.Entity, ig.Game, ig.Animation]);
....
}

0 comments on commit 6791fb7

Please sign in to comment.