5 // Created by Mike Wessler on Sat Jun 15 2002.
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 ----====----====----====----====----====----====----====----====----====---- */
23 #import <Cocoa/Cocoa.h>
27 @interface ScoreBubble
: NSObject
30 NSPoint _screenLocation
;
37 // TODO: remove, not used?
38 @
property (readonly
) int value
;
39 @
property (readonly
) NSPoint screenLocation
;
40 @property
int animationCount
;
41 @
property (readonly
, assign
) NSImage
*image
;
43 + (ScoreBubble
*)scoreWithValue
:(int)value at
:(NSPoint
)location duration
:(int)count
;
45 - (id
)initWithValue
:(int)value at
:(NSPoint
)location duration
:(int)count
;