public void Update(GameTime gameTime) { if ((this.Postion - AIBase.Player.Locate).Length() <= 40 && AIBase.Player.Status == AIBase.Status.Attck) { this.CurrentStatus = GlassStatus.Bad; } }
public void BeBroke() { this.CurrentStatus = GlassStatus.Bad; }
public void BeGood() { this.CurrentStatus = GlassStatus.Good; }
public RightGlass(Vector2 postion) { this.Postion = postion; this.Target = new List<Texture2D>(); this.CurrentStatus = GlassStatus.Good; }