Ok I have known how to build classes for quite a long time now, and I understand attributes and methods. But from a design point of view how literally should I take these? For example I have a class Player and a class Table.
class Player:
attributes:
name
id
methods:
setname
takechair ??
or since
class Table:
attributes:
chairs array
methods:
takechair ??
Should the table take care of the takechair method since I'm not creating a class chair and decided to put the chairs array in Table? Or should the player have a takechair method because in real life the player would sit in the chair thus taking it?