```
class Entity {
  Coords coords, prevCoords;
  // Some more members and methods...
}

class Coords {
  Integer x = null, y = null;
  // More code...
}

```

I have a `Coords` object that belongs to an Entity object, but am not sure how to reference the `Entity`s member variables.