static void Main(string[] args) { Game g = new Game(); TableObject ao = new TableObject(); g.GameObjects.Add(ao); g.Run(); }
public virtual void OnMouseMove(int x, int y, TableObject ao) { }
public override void OnMouseMove(int x, int y, TableObject ao) { }
public override void OnMouseMove(int x, int y, TableObject ao) { ao.Table.X = ao.Table.X + x; ao.Table.Y = ao.Table.Y + y; }