def __init__(self, cfgs, sheet, page, fname): Sheet.__init__(self, cfgs, sheet, page, fname) # Offsets within tile self.side_stripe_inset_x = float(self.value("side_stripe_inset_x")) self.side_stripe_width = float(self.value("side_stripe_width")) self.type_stripe_height = float(self.value("type_stripe_height")) self.type_stripe_inset_x = float(self.value("type_stripe_inset_x")) self.type_stripe_inset_y = float(self.value("type_stripe_inset_y")) self.type_stripe_inset_y_fudge = float(self.value("type_stripe_inset_y_fudge")) self.type_stripe_width = self.x_off + self.tile_x - self.type_stripe_inset_x
def __init__ (self, cfgs, sheet, page, fname): Sheet.__init__ (self, cfgs, sheet, page, fname) # Offsets within tile self.rust_stripe_inset_y = int (self.value ("rust_stripe_inset_y")) self.rust_stripe_height = int (self.value ("rust_stripe_height"))
def __init__ (self, cfgs, sheet, page, fname): Sheet.__init__ (self, cfgs, sheet, page, fname) # Offsets within tile self.number_stripe_height = float (self.value ("number_stripe_height")) self.number_text_inset_x = float (self.value ("number_text_inset_x")) self.number_stripe_inset_y = float (self.value ("number_stripe_inset_y"))