Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the Object ID parameter set to 1.</summary>
- public LevelObject() { this[ObjectParameter.ID] = 1; }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID) { this[ObjectParameter.ID] = objID; }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID and location.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location and flipped values.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="flippedHorizontally">The flipped horizontally value of the <see cref="LevelObject"/>.</param>
- /// <param name="flippedVertically">The flipped vertically value of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, bool flippedHorizontally, bool flippedVertically)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.FlippedHorizontally] = flippedHorizontally;
- this[ObjectParameter.FlippedVertically] = flippedVertically;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location and rotation.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="rotation">The rotation of the <see cref="LevelObject"/> in degrees. Positive is clockwise.</param>
- public LevelObject(int objID, double x, double y, double rotation)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.Rotation] = rotation;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location, rotation and scaling.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="rotation">The rotation of the <see cref="LevelObject"/> in degrees. Positive is clockwise.</param>
- /// <param name="sacling">The scaling ratio of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, double rotation, double scaling)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.Rotation] = rotation;
- this[ObjectParameter.Scaling] = scaling;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location, rotation and flipped values.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="flippedHorizontally">The flipped horizontally value of the <see cref="LevelObject"/>.</param>
- /// <param name="flippedVertically">The flipped vertically value of the <see cref="LevelObject"/>.</param>
- /// <param name="rotation">The rotation of the <see cref="LevelObject"/> in degrees. Positive is clockwise.</param>
- public LevelObject(int objID, double x, double y, bool flippedHorizontally, bool flippedVertically, double rotation)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.FlippedHorizontally] = flippedHorizontally;
- this[ObjectParameter.FlippedVertically] = flippedVertically;
- this[ObjectParameter.Rotation] = rotation;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location, rotation, scaling and flipped values.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="flippedHorizontally">The flipped horizontally value of the <see cref="LevelObject"/>.</param>
- /// <param name="flippedVertically">The flipped vertically value of the <see cref="LevelObject"/>.</param>
- /// <param name="rotation">The rotation of the <see cref="LevelObject"/> in degrees. Positive is clockwise.</param>
- /// <param name="scaling">The scaling ratio of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, bool flippedHorizontally, bool flippedVertically, double rotation, double scaling)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.FlippedHorizontally] = flippedHorizontally;
- this[ObjectParameter.FlippedVertically] = flippedVertically;
- this[ObjectParameter.Rotation] = rotation;
- this[ObjectParameter.Scaling] = scaling;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location and Editor Layer 1.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="EL1">The Editor Layer 1 of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, int EL1)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.EL1] = EL1;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location and Editor Layers.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="EL1">The Editor Layer 1 of the <see cref="LevelObject"/>.</param>
- /// <param name="EL2">The Editor Layer 2 of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, int EL1, int EL2)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.EL1] = EL1;
- this[ObjectParameter.EL2] = EL2;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location and Group IDs.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="groupIDs">The Group IDs of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, int[] groupIDs)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.GroupIDs] = groupIDs;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location, Group IDs and Editor Layers.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="groupIDs">The Group IDs of the <see cref="LevelObject"/>.</param>
- /// <param name="EL1">The Editor Layer 1 of the <see cref="LevelObject"/>.</param>
- /// <param name="EL2">The Editor Layer 2 of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, int[] groupIDs, int EL1, int EL2)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.GroupIDs] = groupIDs;
- this[ObjectParameter.EL1] = EL1;
- this[ObjectParameter.EL2] = EL2;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location, Color IDs, Group IDs and Editor Layers.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="mainColor">The Main Color ID of the <see cref="LevelObject"/>.</param>
- /// <param name="detailColor">The Detail Color ID of the <see cref="LevelObject"/>.</param>
- /// <param name="groupIDs">The Group IDs of the <see cref="LevelObject"/>.</param>
- /// <param name="EL1">The Editor Layer 1 of the <see cref="LevelObject"/>.</param>
- /// <param name="EL2">The Editor Layer 2 of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, int mainColor, int detailColor, int[] groupIDs, int EL1, int EL2)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.Color1] = mainColor;
- this[ObjectParameter.Color2] = detailColor;
- this[ObjectParameter.GroupIDs] = groupIDs;
- this[ObjectParameter.EL1] = EL1;
- this[ObjectParameter.EL2] = EL2;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location, Color IDs, Group IDs, Editor Layers and glow attibute.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="mainColor">The Main Color ID of the <see cref="LevelObject"/>.</param>
- /// <param name="detailColor">The Detail Color ID of the <see cref="LevelObject"/>.</param>
- /// <param name="groupIDs">The Group IDs of the <see cref="LevelObject"/>.</param>
- /// <param name="EL1">The Editor Layer 1 of the <see cref="LevelObject"/>.</param>
- /// <param name="EL2">The Editor Layer 2 of the <see cref="LevelObject"/>.</param>
- /// <param name="disableGlow">The Disable Glow value of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, int mainColor, int detailColor, int[] groupIDs, int EL1, int EL2, bool disableGlow)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.Color1] = mainColor;
- this[ObjectParameter.Color2] = detailColor;
- this[ObjectParameter.GroupIDs] = groupIDs;
- this[ObjectParameter.EL1] = EL1;
- this[ObjectParameter.EL2] = EL2;
- this[ObjectParameter.DisableGlow] = disableGlow;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location, Color IDs, Group IDs, Editor Layers and glow attibute, Z Order and Z Layer.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="mainColor">The Main Color ID of the <see cref="LevelObject"/>.</param>
- /// <param name="detailColor">The Detail Color ID of the <see cref="LevelObject"/>.</param>
- /// <param name="groupIDs">The Group IDs of the <see cref="LevelObject"/>.</param>
- /// <param name="EL1">The Editor Layer 1 of the <see cref="LevelObject"/>.</param>
- /// <param name="EL2">The Editor Layer 2 of the <see cref="LevelObject"/>.</param>
- /// <param name="disableGlow">The Disable Glow value of the <see cref="LevelObject"/>.</param>
- /// <param name="ZOrder">The Z Order value of the <see cref="LevelObject"/>.</param>
- /// <param name="ZLayer">The Z Layer value of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, int mainColor, int detailColor, int[] groupIDs, int EL1, int EL2, bool disableGlow, int ZOrder, int ZLayer)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.Color1] = mainColor;
- this[ObjectParameter.Color2] = detailColor;
- this[ObjectParameter.GroupIDs] = groupIDs;
- this[ObjectParameter.EL1] = EL1;
- this[ObjectParameter.EL2] = EL2;
- this[ObjectParameter.DisableGlow] = disableGlow;
- this[ObjectParameter.ZOrder] = ZOrder;
- this[ObjectParameter.ZLayer] = ZLayer;
- }
- /// <summary>Creates an instance of the <see cref="LevelObject"/> class with the specified Object ID, location, Color IDs, Group IDs, Editor Layers and glow attibute, Z Order and Z Layer.</summary>
- /// <param name="objID">The Object ID of the <see cref="LevelObject"/>.</param>
- /// <param name="x">The X position of the <see cref="LevelObject"/>.</param>
- /// <param name="y">The Y position of the <see cref="LevelObject"/>.</param>
- /// <param name="mainColor">The Main Color ID of the <see cref="LevelObject"/>.</param>
- /// <param name="detailColor">The Detail Color ID of the <see cref="LevelObject"/>.</param>
- /// <param name="groupIDs">The Group IDs of the <see cref="LevelObject"/>.</param>
- /// <param name="EL1">The Editor Layer 1 of the <see cref="LevelObject"/>.</param>
- /// <param name="EL2">The Editor Layer 2 of the <see cref="LevelObject"/>.</param>
- /// <param name="disableGlow">The Disable Glow value of the <see cref="LevelObject"/>.</param>
- /// <param name="ZOrder">The Z Order value of the <see cref="LevelObject"/>.</param>
- /// <param name="ZLayer">The Z Layer value of the <see cref="LevelObject"/>.</param>
- public LevelObject(int objID, double x, double y, int mainColor, int detailColor, int[] groupIDs, int EL1, int EL2, bool disableGlow, int ZOrder, ZLayer ZLayer)
- {
- this[ObjectParameter.ID] = objID;
- this[ObjectParameter.X] = x;
- this[ObjectParameter.Y] = y;
- this[ObjectParameter.Color1] = mainColor;
- this[ObjectParameter.Color2] = detailColor;
- this[ObjectParameter.GroupIDs] = groupIDs;
- this[ObjectParameter.EL1] = EL1;
- this[ObjectParameter.EL2] = EL2;
- this[ObjectParameter.DisableGlow] = disableGlow;
- this[ObjectParameter.ZOrder] = ZOrder;
- this[ObjectParameter.ZLayer] = (int)ZLayer;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement