-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDrawingQueues.h
More file actions
52 lines (41 loc) · 878 Bytes
/
DrawingQueues.h
File metadata and controls
52 lines (41 loc) · 878 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// DrawingQueues.h
// ChessUI
//
// Created by Michael Weingert on 12-05-06.
// Copyright 2012 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface DrawingQueues : NSObject {
}
@end
@interface GLChessPiece : NSObject
{
char _PieceChar;
int row;
int col;
bool bIsWhite;
}
@property (readonly) char _PieceChar;
@property (readonly) int row;
@property (readonly) int col;
@property (readonly) bool bIsWhite;
-(id)init;
-(id)initWithParameters:(int)_row:(int)_col:(char) __PieceChar:(bool)_bIsWhite;
@end
@interface PieceQueue : NSObject
{
GLChessPiece* LocalPieceQueue[35];
int numPieces;
}
-(id)init;
+(PieceQueue*)getInstance;
-(void)AddPieceToQueue: (GLChessPiece*)newPiece;
-(GLChessPiece*)GetPiece:(int)index;
-(void)ResetQueue;
-(int)GetNumPieces;
-(id)retain;
-(NSUInteger) retainCount;
-(void)release;
-(id)autorelease;
@end