add Game.hintPoint as dynamic property
[exterlulz-kokogems.git] / src / ScoreBubble.h
blob2b3cfe5b23425fe024b031c2ba2b06258862f860
1 //
2 // ScoreBubble.h
3 // jeweltoy
4 //
5 // Created by Mike Wessler on Sat Jun 15 2002.
6 //
7 /*
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>
25 @class OpenGLSprite;
27 @interface ScoreBubble : NSObject
29 int _value;
30 NSPoint _screenLocation;
31 int _animationCount;
32 NSImage *image;
34 OpenGLSprite *sprite;
37 @property (readonly) int _value;
38 @property (readonly) NSPoint _screenLocation;
39 @property int _animationCount;
41 + (ScoreBubble *)scoreWithValue:(int)value at:(NSPoint)location duration:(int)count;
43 - (id)initWithValue:(int)value at:(NSPoint)location duration:(int)count;
45 - (void)drawImage;
46 - (void)drawSprite;
48 - (int)animate;
50 // TODO: set as readonly property
51 - (NSImage *)image;
53 @end