Ejemplo n.º 1
0
 /// <summary>
 /// From lua, you can pass an options table with named arguments
 /// example:
 ///     stage.hide{character=jill, toPosition="left"}
 /// Any option available in the PortraitOptions is available from Lua
 /// </summary>
 /// <param name="optionsTable">Moonsharp Table</param>
 public virtual void Hide(Table optionsTable)
 {
     Hide(PortraitUtil.ConvertTableToPortraitOptions(optionsTable, stage));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// From lua, you can pass an options table with named arguments
 /// example:
 ///     stage.show{character=jill, portrait="happy", fromPosition="right", toPosition="left"}
 /// Any option available in the PortraitOptions is available from Lua
 /// </summary>
 /// <param name="optionsTable">Moonsharp Table</param>
 public virtual void Show(Table optionsTable)
 {
     Show(PortraitUtil.ConvertTableToPortraitOptions(optionsTable, stage));
 }