CPP03 1.0
|
Header file for the DiamondTrap class, inheriting from FragTrap and ScavTrap. [詳解]
クラス | |
class | DiamondTrap |
Represents a DiamondTrap robot, inheriting from both FragTrap and ScavTrap. [詳解] | |
Header file for the DiamondTrap class, inheriting from FragTrap and ScavTrap.
This file declares the DiamondTrap class, which inherits from both FragTrap and ScavTrap, demonstrating multiple inheritance. It has its own private name and inherits attributes and the attack method from its parent classes. It also introduces a unique 'whoAmI' ability.
DiamondTrap.hpp に定義があります。