CPP03 1.0
|
Main entry point for the FragTrap program, building upon EX01. [詳解]
関数 | |
int | main () |
Main function. | |
Main entry point for the FragTrap program, building upon EX01.
This file demonstrates the usage of the ClapTrap, ScavTrap, and FragTrap classes. It creates instances of each class and calls their respective member functions to showcase their functionalities, including attacks, taking damage, repairing, ScavTrap's guardGate, and FragTrap's highFivesGuys. It also illustrates the construction and destruction order of FragTrap objects.
main.cpp に定義があります。