diff --git a/Awperative/Kernel/Entities/Bodies/Time.cs b/Awperative/Kernel/Entities/Bodies/Time.cs
index 99be493..ecf9939 100644
--- a/Awperative/Kernel/Entities/Bodies/Time.cs
+++ b/Awperative/Kernel/Entities/Bodies/Time.cs
@@ -6,7 +6,6 @@ namespace Awperative;
public sealed partial class Body
{
- public void Initialize() { foreach (Component component in components) component.Initialize(); }
public void Terminate() { foreach (Component component in components) component.Terminate(); }
public void Load() { foreach (Component component in components) { component.Load(); } }
diff --git a/Awperative/Kernel/Entities/Scenes/Time.cs b/Awperative/Kernel/Entities/Scenes/Time.cs
index ae9cfcf..5881e5b 100644
--- a/Awperative/Kernel/Entities/Scenes/Time.cs
+++ b/Awperative/Kernel/Entities/Scenes/Time.cs
@@ -5,10 +5,6 @@ namespace Awperative;
public sealed partial class Scene
{
- public void Initialize() {
- foreach (Behavior behavior in behaviors) behavior.Initialize();
- foreach (Body body in bodies) body.Initialize();
- }
public void Terminate() {
foreach (Behavior behavior in behaviors) behavior.Terminate();
diff --git a/Awperative/Kernel/Overhead/AwperativeClass.cs b/Awperative/Kernel/Overhead/AwperativeClass.cs
index 7377801..d1a8dc8 100644
--- a/Awperative/Kernel/Overhead/AwperativeClass.cs
+++ b/Awperative/Kernel/Overhead/AwperativeClass.cs
@@ -8,15 +8,10 @@ public interface AwperativeHook
///
/// Called when the program starts; It is not recommended you load assets here.
///
- public void Initialize() {}
+ public void Load() {}
///
/// Called when the program closes.
///
public void Terminate() {}
-
- ///
- /// Called when Awperative loads content.
- ///
- public void Load() {}
}
\ No newline at end of file
diff --git a/Awperative/Kernel/Overhead/Base.cs b/Awperative/Kernel/Overhead/Base.cs
index a6aa4a0..8b094b6 100644
--- a/Awperative/Kernel/Overhead/Base.cs
+++ b/Awperative/Kernel/Overhead/Base.cs
@@ -20,15 +20,14 @@ public sealed class Base : Game
}
///
- /// Initialize() is called when the program starts. Override Initialize() in scripting tools or use hooks to call from this event.
+ /// Initialize() is called when the program starts. It can be confusing because Initialize() in hooks and events is actually LoadContent().
+ /// This is because Initialize() has little utility and there is no reason to
///
/// It is recommended not to load content in Initialize()
protected override void Initialize() {
Awperative.ContentManager = Content;
Awperative.SpriteBatch = new SpriteBatch(GraphicsDevice);
- foreach (AwperativeHook hook in Awperative.EventHooks) hook.Initialize();
- foreach(Scene scene in Awperative.LoadedScenes) scene.Initialize();
base.Initialize();
}
diff --git a/Awperative/Kernel/Scripting/Behaviors/Behavior.cs b/Awperative/Kernel/Scripting/Behaviors/Behavior.cs
index da512c3..154282c 100644
--- a/Awperative/Kernel/Scripting/Behaviors/Behavior.cs
+++ b/Awperative/Kernel/Scripting/Behaviors/Behavior.cs
@@ -37,7 +37,6 @@ public abstract class Behavior
//GAME HAS JUST BEGUN/ended
- public virtual void Initialize() {}
public virtual void Terminate() {}
//WE ARE LOADING STUFF
diff --git a/Awperative/Kernel/Scripting/Components/Component.cs b/Awperative/Kernel/Scripting/Components/Component.cs
index 2dadf16..61efadc 100644
--- a/Awperative/Kernel/Scripting/Components/Component.cs
+++ b/Awperative/Kernel/Scripting/Components/Component.cs
@@ -53,7 +53,6 @@ public abstract class Component
//GAME HAS JUST BEGUN/ended
- public virtual void Initialize() {}
public virtual void Terminate() {}
//WE ARE LOADING STUFF
diff --git a/Awperative/bin/Debug/net8.0/Awperative.dll b/Awperative/bin/Debug/net8.0/Awperative.dll
index 2d784df..9174b7a 100644
Binary files a/Awperative/bin/Debug/net8.0/Awperative.dll and b/Awperative/bin/Debug/net8.0/Awperative.dll differ
diff --git a/Awperative/bin/Debug/net8.0/Awperative.pdb b/Awperative/bin/Debug/net8.0/Awperative.pdb
index a817064..5f8c3bd 100644
Binary files a/Awperative/bin/Debug/net8.0/Awperative.pdb and b/Awperative/bin/Debug/net8.0/Awperative.pdb differ
diff --git a/Awperative/obj/Debug/net8.0/Awperative.AssemblyInfo.cs b/Awperative/obj/Debug/net8.0/Awperative.AssemblyInfo.cs
index 8518425..cd49ef0 100644
--- a/Awperative/obj/Debug/net8.0/Awperative.AssemblyInfo.cs
+++ b/Awperative/obj/Debug/net8.0/Awperative.AssemblyInfo.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Awperative")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+cc4fee7a34972940e4ce95a9723f222e7b5da0c2")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+9f744fcd5f47a08f81587169de34e57d3562e7ba")]
[assembly: System.Reflection.AssemblyProductAttribute("Awperative")]
[assembly: System.Reflection.AssemblyTitleAttribute("Awperative")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/Awperative/obj/Debug/net8.0/Awperative.AssemblyInfoInputs.cache b/Awperative/obj/Debug/net8.0/Awperative.AssemblyInfoInputs.cache
index 0a9941e..44fafef 100644
--- a/Awperative/obj/Debug/net8.0/Awperative.AssemblyInfoInputs.cache
+++ b/Awperative/obj/Debug/net8.0/Awperative.AssemblyInfoInputs.cache
@@ -1 +1 @@
-2d568e09994fe2febaf13e7fef7bce0bbde41a896f4579f255b7f9a5481da9d3
+7a962b2fea56a4a2f915d2e475c1e494ec261a6791d7faf4c957d39c460317a6
diff --git a/Awperative/obj/Debug/net8.0/Awperative.dll b/Awperative/obj/Debug/net8.0/Awperative.dll
index 2d784df..9174b7a 100644
Binary files a/Awperative/obj/Debug/net8.0/Awperative.dll and b/Awperative/obj/Debug/net8.0/Awperative.dll differ
diff --git a/Awperative/obj/Debug/net8.0/Awperative.pdb b/Awperative/obj/Debug/net8.0/Awperative.pdb
index a817064..5f8c3bd 100644
Binary files a/Awperative/obj/Debug/net8.0/Awperative.pdb and b/Awperative/obj/Debug/net8.0/Awperative.pdb differ
diff --git a/Awperative/obj/Debug/net8.0/ref/Awperative.dll b/Awperative/obj/Debug/net8.0/ref/Awperative.dll
index 98aa9f6..740b8ca 100644
Binary files a/Awperative/obj/Debug/net8.0/ref/Awperative.dll and b/Awperative/obj/Debug/net8.0/ref/Awperative.dll differ
diff --git a/Awperative/obj/Debug/net8.0/refint/Awperative.dll b/Awperative/obj/Debug/net8.0/refint/Awperative.dll
index 98aa9f6..740b8ca 100644
Binary files a/Awperative/obj/Debug/net8.0/refint/Awperative.dll and b/Awperative/obj/Debug/net8.0/refint/Awperative.dll differ