mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-02-11 10:11:39 +00:00
61 lines
1.5 KiB
C#
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
|
|
}
|
|
}
|