CPP03 1.0
|
Main entry point for the ScavTrap program. [詳解]
#include "ScavTrap.hpp"
関数 | |
int | main () |
Main function. | |
Main entry point for the ScavTrap program.
This file demonstrates the usage of the ClapTrap and ScavTrap classes. It creates instances of both classes and calls their respective member functions to showcase their functionalities, including attacks, taking damage, repairing, and the ScavTrap-specific guardGate ability. It also illustrates the construction and destruction order of ScavTrap objects.
main.cpp に定義があります。