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