-
Notifications
You must be signed in to change notification settings - Fork 1
/
MonstreBase.h
47 lines (41 loc) · 1.01 KB
/
MonstreBase.h
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
//
// MonstreBase.h
// Monster Troc 2
//
// Created by Thibault Dardinier on 22/09/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum {
CORPS_A_CORPS,
DISTANCE,
SOIGNEUR,
BERSERKER,
MECANO,
POUSSEUR,
TELEPORTEUR
} SpecialiteMonstre;
@interface MonstreBase : NSObject
{
int ID;
int Vie;
int PA;
int PM;
int Attaque_Min;
int Attaque_Max;
SpecialiteMonstre Spe;
NSString *Nom;
}
@property (readonly) int ID;
@property (readonly) int Vie;
@property (readonly) int PA;
@property (readonly) int PM;
@property (readonly) int Attaque_Min;
@property (readonly) int Attaque_Max;
@property (readonly) SpecialiteMonstre Spe;
@property (readonly) NSString *Nom;
- (id)initWithID:(int)ID_ andVie:(int)Vie_ andPA:(int)PA_ andPM:(int)PM_ andSpe:(SpecialiteMonstre)Spe_ andMin:(int)Attaque_Min_ andMax:(int)Attaque_Max_ andNom:(NSString*)Nom_;
- (int)getPrix;
- (NSString*)getImage;
- (NSString*)description;
@end