#include "Hit.h" pool_tutorial::Hit::Hit( double x, double y, double z, double value ): m_x( x ), m_y( y ), m_z( z ), m_value( value ) {} pool_tutorial::Hit::Hit( const pool_tutorial::Hit& rhs ): m_x( rhs.m_x ), m_y( rhs.m_y ), m_z( rhs.m_z ), m_value( rhs.m_value ) {} pool_tutorial::Hit::~Hit() {} pool_tutorial::Hit& pool_tutorial::Hit::operator=( const pool_tutorial::Hit& rhs ) { m_x = rhs.m_x; m_y = rhs.m_y; m_z = rhs.m_z; m_value = rhs.m_value; return *this; } double pool_tutorial::Hit::x() const { return m_x; } double pool_tutorial::Hit::y() const { return m_y; } double pool_tutorial::Hit::z() const { return m_z; } double pool_tutorial::Hit::value() const { return m_value; } void pool_tutorial::Hit::setPosition( double x, double y, double z ) { m_x = x; m_y = y; m_z = z; } void pool_tutorial::Hit::setValue( double value ) { m_value = value; }