Ejemplo n.º 1
0
		public AGSRoomTransitions(IEvent<AGSEventArgs> onStateChanged)
		{
			OnStateChanged = onStateChanged;
			//starting with preparing transition so that the before fade in event will be called for the first room in the game
			_state = RoomTransitionState.PreparingTransition; 
		}
Ejemplo n.º 2
0
 public AGSRoomTransitions(IEvent <AGSEventArgs> onStateChanged)
 {
     OnStateChanged = onStateChanged;
     //starting with preparing transition so that the before fade in event will be called for the first room in the game
     _state = RoomTransitionState.PreparingTransition;
 }