forked from sceresia/CCAutoType
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCCAutoTypeLabelBM.h
More file actions
32 lines (24 loc) · 758 Bytes
/
CCAutoTypeLabelBM.h
File metadata and controls
32 lines (24 loc) · 758 Bytes
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
27
28
29
30
31
32
//
// CCLabelBMAutoType.h
//
// Created by Stephen Ceresia on 12-07-03.
// Copyright (c) 2012 EXC_BAD_ACCESS. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "cocos2d.h"
@class CCAutoTypeLabelBM;
@protocol CCAutoTypeLabelBMDelegate
@optional
- (void) typingFinished:(CCAutoTypeLabelBM*) sender;
@end
@interface CCAutoTypeLabelBM : CCLabelBMFont
{
NSObject <CCAutoTypeLabelBMDelegate> *delegate;
NSMutableArray *arrayOfCharacters;
NSString *autoTypeString;
}
@property (readwrite, assign) NSObject <CCAutoTypeLabelBMDelegate> *delegate;
@property (nonatomic, retain) NSMutableArray *arrayOfCharacters;
@property (nonatomic, retain) NSString *autoTypeString;
- (void) typeText:(NSString*) txt withDelay:(float) d;
@end