@@ -35,8 +35,8 @@ module Phaser {
3535
3636 /**
3737 * Add a new frame.
38- * @param frame The frame you want to add.
39- * @return {Frame= } The frame you just added.
38+ * @param frame {Frame} The frame you want to add.
39+ * @return {Frame } The frame you just added.
4040 */
4141 public addFrame ( frame : Frame ) : Frame {
4242
@@ -55,8 +55,8 @@ module Phaser {
5555
5656 /**
5757 * Get a frame by its index.
58- * @param index Index of the frame you want to get.
59- * @return {Frame= } The frame you want.
58+ * @param index {number} Index of the frame you want to get.
59+ * @return {Frame } The frame you want.
6060 */
6161 public getFrame ( index : number ) : Frame {
6262
@@ -71,8 +71,8 @@ module Phaser {
7171
7272 /**
7373 * Get a frame by its name.
74- * @param name Name of the frame you want to get.
75- * @return {Frame= } The frame you want.
74+ * @param name {string} Name of the frame you want to get.
75+ * @return {Frame } The frame you want.
7676 */
7777 public getFrameByName ( name : string ) : Frame {
7878
@@ -87,7 +87,7 @@ module Phaser {
8787
8888 /**
8989 * Check whether there's a frame with given name.
90- * @param name Name of the frame you want to check.
90+ * @param name {string} Name of the frame you want to check.
9191 * @return {boolean } True if frame with given name found, otherwise return false.
9292 */
9393 public checkFrameName ( name : string ) : bool {
@@ -103,10 +103,10 @@ module Phaser {
103103
104104 /**
105105 * Get ranges of frames in an array.
106- * @param start Start index of frames you want.
107- * @param end End index of frames you want.
108- * @param output Optional, result will be added into this array.
109- * @return {array } Ranges of specific frames in an array.
106+ * @param start {number} Start index of frames you want.
107+ * @param end {number} End index of frames you want.
108+ * @param output {Frame[]} Optional, result will be added into this array.
109+ * @return {Frame[] } Ranges of specific frames in an array.
110110 */
111111 public getFrameRange ( start : number , end : number , output ?: Frame [ ] = [ ] ) : Frame [ ] {
112112
@@ -121,8 +121,8 @@ module Phaser {
121121
122122 /**
123123 * Get all indexes of frames by giving their name.
124- * @param output Optional, result will be added into this array.
125- * @return {array } Indexes of specific frames in an array.
124+ * @param output {number[]} Optional, result will be added into this array.
125+ * @return {number[] } Indexes of specific frames in an array.
126126 */
127127 public getFrameIndexes ( output ?: number [ ] = [ ] ) : number [ ] {
128128
@@ -139,8 +139,8 @@ module Phaser {
139139
140140 /**
141141 * Get all names of frames by giving their indexes.
142- * @param output Optional, result will be added into this array.
143- * @return {array } Names of specific frames in an array.
142+ * @param output {number[]} Optional, result will be added into this array.
143+ * @return {number[] } Names of specific frames in an array.
144144 */
145145 public getFrameIndexesByName ( input : string [ ] ) : number [ ] {
146146
@@ -160,16 +160,16 @@ module Phaser {
160160
161161 /**
162162 * Get all frames in this frame data.
163- * @return {array } All the frames in an array.
163+ * @return {Frame[] } All the frames in an array.
164164 */
165165 public getAllFrames ( ) : Frame [ ] {
166166 return this . _frames ;
167167 }
168168
169169 /**
170170 * Get All frames with specific ranges.
171- * @param range Ranges in an array.
172- * @return All frames in an array.
171+ * @param range {number[]} Ranges in an array.
172+ * @return { Frame[] } All frames in an array.
173173 */
174174 public getFrames ( range : number [ ] ) {
175175
0 commit comments