Rev 1439 |
Rev 1496 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BauzoidNET.parser;
namespace BurutaruEditor.file.elements
{
public class StaticElement : BackgroundElement
{
private string mShapeFile = null;
public StaticElement(Document doc, string name)
: base(doc, name)
{
}
public override string GetPropertiesType()
{
return "[StaticElement]";
}
public override bool ReadParameter(Tokenizer t, string id)
{
// shape
if (id.Equals("shape", StringComparison.OrdinalIgnoreCase))
{
mShapeFile = t.readString();
}
// read other parameter types
else
{
// no other parameter type, so check super-class
return base.ReadParameter(t, id);
}
t.readToken(";");
return true;
}
}
}