Methods are functions attached to objects, these methods have access to the data of the object and its other methods via the self keyword. Methods are defined under a impl block.
self
impl
{methods.play}