public void SetData(TrickMap.Data data) { if (this.m_DataMap == null) { return; } this.m_DataMap.set(data.x, data.y, data); }
public bool IsGoodData(int x, int y) { TrickMap.Data data = this.GetData(x, y); if (data != null && data.IsVisual(this.owner) && data.IsVaild(this.owner)) { return(!data.IsFail(this.owner)); } return(false); }