AreM -> ManagedArea

This commit is contained in:
2026-06-14 01:19:00 +02:00
parent 0d7986325f
commit 7b458c4ec8
7 changed files with 35 additions and 34 deletions

View File

@@ -3,13 +3,14 @@ using System.Drawing.Drawing2D;
namespace _2DGAMELIB
{
public class AreM : RenderArea
//TODO: Find a better name...
public class ManagedArea : RenderArea
{
private double strength;
private double unitS;
public AreM(double Unit, double XRatio, double YRatio, double Size, double DisMag, double HitMag, double Strength) :
public ManagedArea(double Unit, double XRatio, double YRatio, double Size, double DisMag, double HitMag, double Strength) :
base(Unit, XRatio, YRatio, Size, DisMag, HitMag)
{
SetXYRatio(XRatio, YRatio);

View File

@@ -289,9 +289,9 @@ namespace _2DGAMELIB
{
Are.Draw(Current);
}
public void Draw(AreM AreM)
public void Draw(ManagedArea ManagedArea)
{
AreM.Draw(Current);
ManagedArea.Draw(Current);
}
private ShapePart GetJoinRoot(PartGroup ps)