Exemplo n.º 1
0
FragTrap::FragTrap(const FragTrap& fp) :
    ClapTrap(fp)
{
    (void)fp;
    std::cout << "Copy constructor from : " << fp.name() << " (FragTrap) ( clone is bad :( )" << std::endl;
}
Exemplo n.º 2
0
void	NinjaTrap::ninjaShoebox(const FragTrap& frag) const
{
	std::cout << "NINJA : " << _name
		<< " put his SHADOW BLADE in the " << frag.name()
		<< " FRAG weak's body, causing 42 Damage points" << std::endl;
}