mirror of
https://github.com/Jacobwasbeast/LegacyWeaveLoader.git
synced 2026-05-22 13:44:31 +00:00
Rename across entire codebase: - LegacyForge -> WeaveLoader (identifiers, namespaces, classes, DLLs) - LegacyForgeRuntime -> WeaveLoaderRuntime (C++ project) - LegacyForge.API/Core/Launcher -> WeaveLoader.API/Core/Launcher (C# projects) - [LegacyForge] -> [WeaveLoader] (log prefixes) - legacyforge -> weaveloader (config files, log files, backup suffixes) - Display name "Weave Loader" in README, CONTRIBUTING, LICENSE
17 lines
658 B
C#
17 lines
658 B
C#
namespace WeaveLoader.API.Entity;
|
|
|
|
/// <summary>
|
|
/// Fluent builder for defining entity properties.
|
|
/// </summary>
|
|
public class EntityDefinition
|
|
{
|
|
internal float WidthValue = 0.6f;
|
|
internal float HeightValue = 1.8f;
|
|
internal int TrackingRangeValue = 80;
|
|
|
|
public EntityDefinition Width(float width) { WidthValue = width; return this; }
|
|
public EntityDefinition Height(float height) { HeightValue = height; return this; }
|
|
public EntityDefinition TrackingRange(int range) { TrackingRangeValue = range; return this; }
|
|
public EntityDefinition Size(float width, float height) { WidthValue = width; HeightValue = height; return this; }
|
|
}
|