class pc

atk:double

hea:double

def:double

gold:double

pc_i:int

pc_j:int

str:string

+pc(double attack,double health,double

defend,double gold=0):pc

+attack(enemy *a):void

+atkhalfling(enemy *a):void

+print():void

+islive():bool

class enemy

atk:double

hea:double

def:double

drop:double

ene_i:int

ene_j:int

str:string

+enemy(double attack,double health,

double defend,double dropgold=0):enemy

+attack(pc *a):void

+atkmiss(pc *a):void

class gold

gold_value:int 

gold_i:int

gold_j:int

str:string

+gold(int value):gold

class potion

potion_i:int

potion_j:int

str:string

+potion(string str_):potion

+function(pc *a):void

class drow

class vampire

class troll

class shade

class goblin

class human

class dwarf

class elf

class orcs

class halfling

class dragon

class merchant

class smallgold

class normalgold

class dragongold

class merchantgold

class RH

class BD

class WA

class BA

class PH

class WD

123

123

2019-12-29 13:46:33 0 36
这里是评论

相关推荐