mirror of
				https://github.com/MaddyThorson/StrawberryBF.git
				synced 2025-11-04 01:41:33 +08:00 
			
		
		
		
	IEarlyUpdate
This commit is contained in:
		
							
								
								
									
										7
									
								
								src/Components/Interfaces/IEarlyUpdate.bf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								src/Components/Interfaces/IEarlyUpdate.bf
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
namespace Strawberry
 | 
			
		||||
{
 | 
			
		||||
	public interface IEarlyUpdate
 | 
			
		||||
	{
 | 
			
		||||
		public void EarlyUpdate();
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
@ -38,6 +38,7 @@ namespace Strawberry
 | 
			
		||||
 | 
			
		||||
		public virtual void Update()
 | 
			
		||||
		{
 | 
			
		||||
			ForEach<IEarlyUpdate>(scope (u) => u.EarlyUpdate());
 | 
			
		||||
			ForEach<IUpdate>(scope (u) => u.Update());
 | 
			
		||||
			ForEach<ILateUpdate>(scope (u) => u.LateUpdate());
 | 
			
		||||
			UpdateLists();
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user