/* call-seq:
 *      event_data.pos -> Array
 *
 *      This method returns the position of the player who made 
 *      the capture.
 */ 


static VALUE
cTFCaptureEventData_getPos(VALUE self)
{

        bz_CTFCaptureEventData *eventData;

        Data_Get_Struct(self, bz_CTFCaptureEventData, eventData);

        VALUE pos = rb_ary_new();

        rb_ary_push(pos, rb_float_new(eventData->pos[0]));
        rb_ary_push(pos, rb_float_new(eventData->pos[1]));
        rb_ary_push(pos, rb_float_new(eventData->pos[2]));

        return pos;

}