ZoneBuilder/Source/Core/SRB2/SRB2Object.cs
2017-07-07 21:43:44 +02:00

61 lines
1.5 KiB
C#

#region ================== Copyright (c) 2007 Pascal vd Heiden
/*
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
* This program is released under GNU General Public License
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#endregion
#region ================== Namespaces
using System;
using System.Collections.Generic;
using System.Globalization;
#endregion
namespace CodeImp.DoomBuilder.SRB2
{
public struct SRB2Object
{
#region ================== Constants
#endregion
#region ================== Variables
public readonly string name;
public readonly string sprite;
public readonly string category;
public readonly string[] states;
public readonly int mapThingNum;
public readonly int radius;
public readonly int height;
#endregion
#region ================== Constructor / Disposer
// Constructor
internal SRB2Object(string name, string sprite, string category, string[] states, int mapThingNum, int radius, int height)
{
this.name = name;
this.sprite = sprite;
this.category = category;
this.states = states;
this.mapThingNum = mapThingNum;
this.radius = radius;
this.height = height;
}
#endregion
}
}