public TeamBench() { offensiveStrategy = new OffensiveStrategy(); defensiveStrategy = new DefendLeadStrategy(); this.SetStrategy(this.offensiveStrategy); teamScore = 0; opposingTeamScore = 0; }
// Helper method to set the current strategy: protected void SetStrategy(CoachingStrategy strategy) { this.currentStrategy = strategy; }