-
Notifications
You must be signed in to change notification settings - Fork 1
/
Monstre.h
73 lines (57 loc) · 1.51 KB
/
Monstre.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//
// Monstre.h
// Monster Troc 2
//
// Created by Thibault Dardinier on 22/09/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#include "MonstreBase.h"
@interface Monstre : NSObject
{
int Appartenance;
int Mort;
SpecialiteMonstre Spe;
int ID_Base;
int Vie;
int Vie_Max;
int PA;
int PA_Max;
int PM;
int PM_Max;
int Attaque_Min;
int Attaque_Max;
int Ligne;
int Colonne;
int Prix_base;
NSString *Nom;
UIImageView *image;
UIImageView *jauge;
UILabel *vie_sur_jauge;
}
- (id)initWithJoueur:(int)joueur andIDBase:(int)ID avecListeDesMonstresDeBase:(NSArray*)MonstresDeBase;
- (int)Sacrifier;
- (int)SubirDegats:(int)valeur;
- (int)Attaquer;
- (void)Deplacer;
- (void)Reset;
- (NSString *)description;
- (NSString*)getImage;
@property (readonly) int Appartenance;
@property (readonly) int Mort;
@property (readonly) SpecialiteMonstre Spe;
@property (readonly) int ID_Base;
@property (readonly) int Vie;
@property (readonly) int Vie_Max;
@property (readonly) int PA;
@property (readonly) int PA_Max;
@property (readonly) int PM;
@property (readonly) int PM_Max;
@property (readonly) int Attaque_Min;
@property (readonly) int Attaque_Max;
@property (readonly) NSString *Nom;
@property (readwrite) int Ligne;
@property (readwrite) int Colonne;
@property (readwrite, retain) UIImageView *image, *jauge;
@property (readwrite, retain) UILabel *vie_sur_jauge;
@end