-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGifActor.ctxt
26 lines (26 loc) · 1.38 KB
/
GifActor.ctxt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#BlueJ class context
comment0.params=file
comment0.target=void\ setImage(java.lang.String)
comment0.text=\r\n\ Set\ the\ image\ of\ the\ actor.\ If\ the\ image\ is\ a\ normal\ picture,\ it\ will\ be\ displayed\ as\ normal.\r\n\ If\ it's\ an\ animated\ GIF\ file\ then\ it\ will\ be\ displayed\ as\ an\ animated\ actor.\r\n\ @overrides\ setImage\ in\ Actor.\r\n
comment1.params=
comment1.target=java.util.List\ getImages()
comment1.text=\r\n\ Get\ all\ the\ images\ used\ in\ the\ animation\r\n\ @return\ a\ list\ of\ GreenfootImages,\ corresponding\ to\ each\ frame.\r\n
comment2.params=
comment2.target=void\ pause()
comment2.text=\r\n\ Pause\ the\ animation.\r\n
comment3.params=
comment3.target=void\ resume()
comment3.text=\r\n\ Resume\ the\ animation.\r\n
comment4.params=
comment4.target=boolean\ isRunning()
comment4.text=\r\n\ Determines\ whether\ the\ animation\ is\ running\r\n\ @return\ true\ if\ the\ animation\ is\ running,\ false\ otherwise\r\n
comment5.params=
comment5.target=void\ act()
comment5.text=\r\n\ Move\ onto\ the\ next\ frame\ if\ the\ time\ for\ the\ current\ frame\ has\ expired\ and\ the\ animation\ isn't\ paused.\r\n
comment6.params=
comment6.target=void\ nextFrame()
comment6.text=\r\n\ Advance\ to\ the\ next\ frame\ in\ the\ animation.\r\n
comment7.params=
comment7.target=void\ loadImages()
comment7.text=\r\n\ Load\ the\ images\r\n
numComments=8