public void Assign(ref AppMain.A2S_SUB_CIRCLE c) { this.center_x = c.center_x; this.center_y = c.center_y; this.radius = c.radius; this.pad = c.pad; }
public void SetCircle(ref AppMain.A2S_SUB_CIRCLE circle) { this.rect.left = circle.center_x; this.rect.top = circle.center_y; this.rect.right = circle.radius; this.rect.bottom = (float)circle.pad; }
internal void Assign(AppMain.A2S_SUB_HIT old) { this.flag = old.flag; this.type = old.type; this.hit_accele = old.hit_accele; this.pad = old.pad; this.rect = old.rect; this.circle = old.circle; }