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]
 表示するレイアウトのGuid [詳解]
 
System.Guid OverLappingLayoutManagerGuid [get]
 重ねて表示するレイアウトのGuid [詳解]
 

詳解

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

構築子と解体子

◆ LayoutDrawerPreview()

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

コンストラクタ

メソッド詳解

◆ ChangeAnimationState()

void Yukar.Engine.LayoutDrawerPreview.ChangeAnimationState ( SpriteRenderObject.AnimationState  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)

レイアウト内のオブジェクト一覧を取得する

引数
isIncludeSubContainerサブコンテナ内のオブジェクトも含めるかどうか

◆ getRednerObject()

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

レイアウト内のオブジェクト一覧を取得する

引数
mitem取得するレイアウトの設定

◆ getRenderObjects()

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

レイアウト内のオブジェクト一覧を取得する

◆ GetSnapPosition()

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

スナップ位置を取得する

引数
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 
)

重ねて表示するレイアウトを初期化する

引数
gameMainゲームメイン
catalogカタログ
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 
)

グリッドの表示設定を行う

引数
drawGridグリッドを表示するかどうか
previewScreenWidthプレビュー画面の幅
previewScreenHeightプレビュー画面の高さ

◆ SetSelectingLayout()

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

選択中のレイアウトを設定する

引数
guid重ねて表示するレイアウトのGuid

◆ show()

void Yukar.Engine.LayoutDrawerPreview.show ( )

表示する

◆ ShowChoice()

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

選択肢を表示する

引数
text表示するテキスト
row行数
windowAlignウィンドウの位置揃え

◆ showOverLappingLayout()

void Yukar.Engine.LayoutDrawerPreview.showOverLappingLayout ( )

重ねて表示するレイアウトを表示する

◆ ShowToast()

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

トーストメッセージを表示する

引数
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

表示するレイアウトのGuid

◆ OverLappingLayoutManagerGuid

System.Guid Yukar.Engine.LayoutDrawerPreview.OverLappingLayoutManagerGuid
get

重ねて表示するレイアウトのGuid