package game; public interface TagBehavior { /** * The "tag" method is called when the current GameCharacter catches * another GameCharacter. This method determines how many points will be awarded * by the tag action. Specific rules for playing the game are implemented in * concrete TagBehavior-derived classes * * @param tagger the GameCharacter doing the tagging (in order to get points) * @param gc the GameCharacter to tag (and get points from) * @return the number of points acquired as a result of tagging */ public int tag(GameCharacter tagger, GameCharacter gc); }