/* call-seq: * event_data.rot -> Float * * This method returns the rotation angle of the player who made * the capture. */ static VALUE cTFCaptureEventData_getRot(VALUE self) { bz_CTFCaptureEventData *eventData; Data_Get_Struct(self, bz_CTFCaptureEventData, eventData); return rb_float_new(eventData->rot); }