classDiagram Item Item : int count Item : int type Item : inc(self, amount) Kart Kart : int speed_max Kart : string color Kart : ram(self, Kart other) Kart : consume_item(self, Item item)