Ejemplo n.º 1
0
Joint_Information SingleJoint::get_Joint_Info() {
	Joint_Information ji;
	ji.joint = joint_num_;
	get_Position(ji.position);
	get_Velocity(ji.velocity);
	get_Current(ji.current);
	get_Status(ji.status);
	return ji;
}
Ejemplo n.º 2
0
void Player2::update()
{
	this->set_Position(this->get_Position()->i_x + this->get_Velocity()->i_x, this->get_Position()->i_y + get_Velocity()->i_y);
	
}