Logo
公開メンバ関数 | 静的公開変数類 | プロパティ | 全メンバ一覧
Yukar.Engine.LayoutDrawerPreview クラス

プレビュー用のレイアウト描画クラス [詳解]

公開メンバ関数

 LayoutDrawerPreview (GameMain gameMain, Common.Catalog catalog, MenuSettings menuSettings, bool isThumbnail)
 
void Initialize (GameMain gameMain, Common.Catalog catalog, MenuSettings menuSettings)
 初期化する [詳解]
 
void InitializeOverLappingLayout (GameMain gameMain, Common.Catalog catalog, System.Guid guid)
 
void Insert (GameMain gameMain, Common.Catalog catalog, MenuSettings.MenuItem addedMenuItem, MenuSettings.MenuItem parentMenuItem, int insertIndex)
 挿入する [詳解]
 
void Remove (MenuSettings.MenuItem removedMenuItem)
 削除する [詳解]
 
void Move (MenuSettings.MenuItem movedMenuItem, MenuSettings.MenuItem movedParentMenuItem, int insertIndex)
 移動する [詳解]
 
void ResetSubContainers ()
 サブメニューコンテナを再生成する [詳解]
 
int GetContainerIndex (System.Guid menuItemGuid)
 コンテナ管理番号を取得する [詳解]
 
void ResetVisible (MenuSettings.MenuItem menuItem)
 表示状態を再設定する [詳解]
 
void Release ()
 
void ReleaseOverLappingLayoutManager ()
 
void Draw ()
 
void Update ()
 
void UpdateTouchCollider (Microsoft.Xna.Framework.Vector2 addtionalContainerSize)
 
void show ()
 
void showOverLappingLayout ()
 
void Hide ()
 
void ToggleDrawCollider ()
 
void ShowToast (string text)
 
void ShowChoice (string text, int row, int windowAlign)
 
void SetSelectingLayout (System.Guid guid)
 
Microsoft.Xna.Framework.Vector2 GetSnapPosition (Microsoft.Xna.Framework.Vector2 position)
 
List< AbstractRenderObjectgetRenderObjects ()
 
MenuSettings.MenuItem getMenuItem (AbstractRenderObject obj)
 
AbstractRenderObject getRednerObject (MenuSettings.MenuItem mitem)
 
void SetGridProperty (bool drawGrid, int previewScreenWidth, int previewScreenHeight)
 
void ChangeAnimationState (SpriteRenderObject.AnimationState animationState)
 

静的公開変数類

static readonly System.Guid stopBgmGuid = new System.Guid("D80CACE2-4E9A-4FD1-8F52-B458BEF14D22")
 
static readonly System.Guid notUseTexture = new System.Guid("6F255726-E50E-43E8-B3EF-51A0C5E04E2F")
 

プロパティ

System.Guid LayoutManagerGuid [get]
 
System.Guid OverLappingLayoutManagerGuid [get]
 

詳解

プレビュー用のレイアウト描画クラス

構築子と解体子

◆ LayoutDrawerPreview()

Yukar.Engine.LayoutDrawerPreview.LayoutDrawerPreview ( GameMain  gameMain,
Common.Catalog  catalog,
MenuSettings  menuSettings,
bool  isThumbnail 
)

メソッド詳解

◆ ChangeAnimationState()

void Yukar.Engine.LayoutDrawerPreview.ChangeAnimationState ( SpriteRenderObject.AnimationState  animationState)

◆ Draw()

void Yukar.Engine.LayoutDrawerPreview.Draw ( )

◆ GetContainerIndex()

int Yukar.Engine.LayoutDrawerPreview.GetContainerIndex ( System.Guid  menuItemGuid)

コンテナ管理番号を取得する

引数
menuItemGuidコンテナ管理番号を取得したいレイアウトパーツのGuid
戻り値
コンテナ管理番号

◆ getMenuItem()

MenuSettings.MenuItem Yukar.Engine.LayoutDrawerPreview.getMenuItem ( AbstractRenderObject  obj)

◆ getRednerObject()

AbstractRenderObject Yukar.Engine.LayoutDrawerPreview.getRednerObject ( MenuSettings.MenuItem  mitem)

◆ getRenderObjects()

List< AbstractRenderObject > Yukar.Engine.LayoutDrawerPreview.getRenderObjects ( )

◆ GetSnapPosition()

Microsoft.Xna.Framework.Vector2 Yukar.Engine.LayoutDrawerPreview.GetSnapPosition ( Microsoft.Xna.Framework.Vector2  position)

◆ Hide()

void Yukar.Engine.LayoutDrawerPreview.Hide ( )

◆ Initialize()

void Yukar.Engine.LayoutDrawerPreview.Initialize ( GameMain  gameMain,
Common.Catalog  catalog,
MenuSettings  menuSettings 
)

初期化する

引数
gameMainゲームメイン
catalogカタログ
menuSettings読み込む設定値一覧

◆ InitializeOverLappingLayout()

void Yukar.Engine.LayoutDrawerPreview.InitializeOverLappingLayout ( GameMain  gameMain,
Common.Catalog  catalog,
System.Guid  guid 
)

◆ Insert()

void Yukar.Engine.LayoutDrawerPreview.Insert ( GameMain  gameMain,
Common.Catalog  catalog,
MenuSettings.MenuItem  addedMenuItem,
MenuSettings.MenuItem  parentMenuItem,
int  insertIndex 
)

挿入する

引数
gameMainゲームメイン
catalogカタログ
addedMenuItem追加するレイアウトの設定
parentMenuItem追加する親のレイアウトの設定
insertIndex挿入するインデックス番号

◆ Move()

void Yukar.Engine.LayoutDrawerPreview.Move ( MenuSettings.MenuItem  movedMenuItem,
MenuSettings.MenuItem  movedParentMenuItem,
int  insertIndex 
)

移動する

引数
movedMenuItem移動させるレイアウトの設定
movedParentMenuItem移動させるレイアウトの親の設定
insertIndex移動先のインデックス番号

◆ Release()

void Yukar.Engine.LayoutDrawerPreview.Release ( )

◆ ReleaseOverLappingLayoutManager()

void Yukar.Engine.LayoutDrawerPreview.ReleaseOverLappingLayoutManager ( )

◆ Remove()

void Yukar.Engine.LayoutDrawerPreview.Remove ( MenuSettings.MenuItem  removedMenuItem)

削除する

引数
removedMenuItem削除するレイアウトの設定

◆ ResetSubContainers()

void Yukar.Engine.LayoutDrawerPreview.ResetSubContainers ( )

サブメニューコンテナを再生成する

◆ ResetVisible()

void Yukar.Engine.LayoutDrawerPreview.ResetVisible ( MenuSettings.MenuItem  menuItem)

表示状態を再設定する

引数
menuItem表示状態を再設定するレイアウトの設定

◆ SetGridProperty()

void Yukar.Engine.LayoutDrawerPreview.SetGridProperty ( bool  drawGrid,
int  previewScreenWidth,
int  previewScreenHeight 
)

◆ SetSelectingLayout()

void Yukar.Engine.LayoutDrawerPreview.SetSelectingLayout ( System.Guid  guid)

◆ show()

void Yukar.Engine.LayoutDrawerPreview.show ( )

◆ ShowChoice()

void Yukar.Engine.LayoutDrawerPreview.ShowChoice ( string  text,
int  row,
int  windowAlign 
)

◆ showOverLappingLayout()

void Yukar.Engine.LayoutDrawerPreview.showOverLappingLayout ( )

◆ ShowToast()

void Yukar.Engine.LayoutDrawerPreview.ShowToast ( string  text)

◆ ToggleDrawCollider()

void Yukar.Engine.LayoutDrawerPreview.ToggleDrawCollider ( )

◆ Update()

void Yukar.Engine.LayoutDrawerPreview.Update ( )

◆ UpdateTouchCollider()

void Yukar.Engine.LayoutDrawerPreview.UpdateTouchCollider ( Microsoft.Xna.Framework.Vector2  addtionalContainerSize)

メンバ詳解

◆ notUseTexture

readonly System.Guid Yukar.Engine.LayoutDrawerPreview.notUseTexture = new System.Guid("6F255726-E50E-43E8-B3EF-51A0C5E04E2F")
static

◆ stopBgmGuid

readonly System.Guid Yukar.Engine.LayoutDrawerPreview.stopBgmGuid = new System.Guid("D80CACE2-4E9A-4FD1-8F52-B458BEF14D22")
static

プロパティ詳解

◆ LayoutManagerGuid

System.Guid Yukar.Engine.LayoutDrawerPreview.LayoutManagerGuid
get

◆ OverLappingLayoutManagerGuid

System.Guid Yukar.Engine.LayoutDrawerPreview.OverLappingLayoutManagerGuid
get