Skip to content

Commit

Permalink
update docs to include Animation:getDimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
kikito committed Nov 21, 2015
1 parent 298ad34 commit 7a84390
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
anim8 changelog
===============

### v2.2.0

* Adds Animation:getDimensions()

### v2.1.0

* LÖVE version upped to 0.9.x
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ Moves the animation to its last frame and then pauses it.

Moves the animation to its first frame and then pauses it.

`animation:getDimensions()`

Returns the width and height of the current frame of the animation. This method assumes the frames passed to the animation are all quads (like the ones
created by a grid).


Installation
============
Expand Down

0 comments on commit 7a84390

Please sign in to comment.