public static BarSideState GetNextBarState(BarSideState curstate) { switch (curstate) { case BarSideState.Green: return(BarSideState.Red); case BarSideState.Red: return(BarSideState.Green); default: return(BarSideState.Green); } }
public static Color GetColorFromState(BarSideState curState) { switch (curState) { case BarSideState.Green: return(Color.Green); case BarSideState.Red: return(Color.Red); default: return(Color.Green); } }
public Bar() { this.State = BarSideState.Green; }
public Beat(Game game, Vector2 position) : base(game) { _state = BarSideState.Green; this.Location = position; }