Would this be the correct place to use the java keyword “interface”?
问题 I'm rather new to Java. After just reading some info on path finding, I read about using an empty class as an " interface ", for an unknown object type. I'm developing a game in Java based on hospital theme. So far, the user can build a reception desk and a GP's office. They are two different types of object, one is a Building and one is a ReceptionDesk . (In my class structure.) My class structure is this: GridObject-->Building GridObject-->Item-->usableItem-->ReceptionDesk. The problem