Put the common logic inside the controller and either have a common base for the pawns or use an interface to call functions on them.
Put the common logic inside the controller and either have a common base for the pawns or use an interface to call functions on them.