mycj_demo/mycj/Assets/Game/Scripts/Application/Data/FBGrid.cs

45 lines
1.1 KiB
C#
Raw Normal View History

2024-12-02 09:37:47 +08:00
// 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);
}
}
}