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?

30th May 2021, 10:52 PM
titan
2 Réponses
+ 1
thank you so much :)
31st May 2021, 9:24 AM
titan