- Added Controls namespace to the engine - Copied VisualContainer and RoomControl from Visual Designer to MUDEngine.Controls namespace - Added Control property to BaseObject, all objects now can have a custom UserControl that the Visual Designer will create during runtime when the object is dragged to the designer.
21 lines
507 B
C#
21 lines
507 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using MUDEngine.Objects;
|
|
|
|
namespace MUDEngine.Controls
|
|
{
|
|
public partial class RoomControl : VisualContainer
|
|
{
|
|
public RoomControl(BaseObject EngineObject) :base(EngineObject)
|
|
{
|
|
InitializeComponent();
|
|
//this.GameObject = EngineObject;
|
|
}
|
|
}
|
|
}
|