Rev 1459 |
Rev 1477 |
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 System.ComponentModel;
using BauzoidNET.parser;
namespace BurutaruEditor.file
{
public abstract class LevelObject
{
private Document mDocument = null;
[Browsable(false)]
public Document Doc
{
get { return mDocument; }
}
public string Name { get; set; }
public LevelObject(Document doc, string name)
{
mDocument = doc;
Name = name;
}
public abstract void RenderSelected(int selectedPart);
public abstract bool IsInside(float x, float y, out int selectedPart);
public abstract void MoveBy(float x, float y, int selectedPart);
public virtual bool ReadParameter(Tokenizer t, string id)
{
return false;
}
}
}