protected override void update_graphics(bool activeNode)
        {
            Name.update();
            MapSprite.frame = Global.game_system.unit_anim_idle_frame;
            MapSprite.update();

            GlowingLine.update();
            GlowingLine.visible = activeNode;
        }
        protected override void update_commands(bool input)
        {
            if (Units != null)
            {
                for (int i = 0; i < Units.Count; i++)
                {
                    Units[i].Update();
                }
            }
            if (PlayerCursor != null)
            {
                PlayerCursor.update();
                PlayerCursor.frame = Player.CursorFrame;
            }

            base.update_commands(input);
        }
示例#3
0
 protected override void update_graphics(bool activeNode)
 {
     Text.update();
     MapSprite.frame = Global.game_system.unit_anim_idle_frame;
     MapSprite.update();
 }