29 lines
573 B
C#
29 lines
573 B
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.Tilemaps;
|
|
|
|
namespace Map
|
|
{
|
|
public class MapGenerator:MonoBehaviour
|
|
{
|
|
public DoubleMap baseLevel;
|
|
public Tilemap buildLevel;
|
|
public Tilemap plantLevel;
|
|
|
|
|
|
public bool CanPassThrough(int x, int y)
|
|
{
|
|
return GetTilePassCost(x, y) < 1;
|
|
}
|
|
public float GetTilePassCost(int x, int y)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public float GetTileBulletCover(int x, int y)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
}
|
|
} |