Ejemplo n.º 1
0
bool BulletObject::operator==(BulletObject const& other)
{
    return (GameObject::operator==(other) &&
            _layer == other.getLayer());
}
Ejemplo n.º 2
0
BulletObject::BulletObject(BulletObject const& other) : GameObject(other)
{
    _layer = other.getLayer();
    _entityManager = other._entityManager;
}