Last active
February 22, 2020 12:33
-
-
Save abebemukuru/ef3989f9d6038a05a989c304793c117a to your computer and use it in GitHub Desktop.
部屋データ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// 部屋データ | |
/// </summary> | |
public class RoomData | |
{ | |
// 部屋幅 | |
public int m_nWidth; | |
// 部屋高さ | |
public int m_nHeight; | |
// フィールドデータIndex | |
public List<int> m_lstFieldIndex = new List<int>(8); | |
/// <summary> | |
/// コンストラクタ | |
/// </summary> | |
/// <param name="nWidth"></param> | |
/// <param name="nHeight"></param> | |
public RoomData( int nWidth,int nHeight ) | |
{ | |
m_nWidth = nWidth; | |
m_nHeight = nHeight; | |
} | |
/// <summary> | |
/// コピーコンストラクタ | |
/// </summary> | |
/// <param name="cData"></param> | |
public RoomData( RoomData cData ) | |
{ | |
m_nWidth = cData.m_nWidth; | |
m_nHeight = cData.m_nHeight; | |
m_lstFieldIndex = cData.m_lstFieldIndex; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment