Make this public because we might need it later.

Signed-off-by: Staartvin <mijnleraar@msn.com>
Add method so it can be used for players as well.

Signed-off-by: Staartvin <mijnleraar@msn.com>
Remove redundant variable.

Signed-off-by: Staartvin <mijnleraar@msn.com>