mycj_demo/mycj/Assets/Game/Scripts/Application/Data/FBGrid.cs
2024-12-02 09:37:47 +08:00

45 lines
1.1 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Felix-BangTile
//   へ     /|
//  /7    ∠_/
//  / │    
//  Z _,    /`ヽ
// │     ヽ   /  〉
//  Y     `  /  /
// イ● 、 ●  ⊂⊃〈  /
// ()  へ    | \〈
//  >ー 、_  ィ  │
//  / へ   / ノ<|
//  ヽ_ノ  (_  │//
//  7       |
//  ―r ̄ ̄`ー―_
// Describe背景网格单个
// Createtime2018/9/19
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace FBApplication
{
public class FBGrid
{
public int Index_X;
public int Index_Y;
public bool CanHold; //是否可以放置塔
public Object Data; //保存的相关数据
public FBGrid(int x, int y)
{
Index_X = x;
Index_Y = y;
}
public override string ToString()
{
return string.Format("[X:{0},Y:{1},CanHold:{2}]", Index_X, Index_Y,CanHold);
}
}
}