示例#1
0
文件: FragTrap.cpp 项目: alex8092/cpp
FragTrap::FragTrap(const FragTrap& fp) :
    ClapTrap(fp)
{
    (void)fp;
    std::cout << "Copy constructor from : " << fp.name() << " (FragTrap) ( clone is bad :( )" << std::endl;
}
示例#2
0
文件: NinjaTrap.cpp 项目: z0mbie42/42
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;
}