0
problem with acsessing another class's member
Hello i have declared a vector for creature class in below std::vector<creature> Sr(1, creature(attackpower,hp)); I want to use attack power in a diffirent class called player(only attack power not hp want creature to attack player) you guys have any idea?
1 Antwort
+ 1
thank you so much :)