public void Image(Engine.Image i, Row r, string mimeType, Stream ior) { }
public TableObject() : base("table") { try { pieces = new System.Collections.Generic.Dictionary<string, Engine.Image>(); ChangeState(new ActorMouseReleasedState()); #region loading images Engine.Image tmp; tmp = new Engine.Image(); tmp.Load(@"a.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("a", tmp); tmp = new Engine.Image(); tmp.Load(@"e.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("e", tmp); tmp = new Engine.Image(); tmp.Load(@"i.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("i", tmp); tmp = new Engine.Image(); tmp.Load(@"o.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("o", tmp); tmp = new Engine.Image(); tmp.Load(@"u.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("u", tmp); tmp = new Engine.Image(); tmp.Load(@"ha.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("ha", tmp); tmp = new Engine.Image(); tmp.Load(@"ka.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("ka", tmp); tmp = new Engine.Image(); tmp.Load(@"ma.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("ma", tmp); tmp = new Engine.Image(); tmp.Load(@"na.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("na", tmp); tmp = new Engine.Image(); tmp.Load(@"ra.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("ra", tmp); tmp = new Engine.Image(); tmp.Load(@"sa.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("sa", tmp); tmp = new Engine.Image(); tmp.Load(@"ta.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("ta", tmp); tmp = new Engine.Image(); tmp.Load(@"wa.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("wa", tmp); tmp = new Engine.Image(); tmp.Load(@"wa.png"); tmp.scaleX = 0.5f; tmp.scaleY = 0.5f; pieces.Add("ya", tmp); #endregion _table = new string[50,25]; for (int x = 0; x < 50; x++) { for (int y = 0; y < 25; y++) { _table[x,y] = this.GenRandomLetter(); } } } catch (Exception ex) { Console.WriteLine(@"ActorObject._ctor()" + ex.Message); } }