コード例 #1
0
ファイル: Unit_Page_4.cs プロジェクト: Nagraal/Tactile-Engine
        public override void draw(SpriteBatch sprite_batch, Vector2 draw_offset = default(Vector2))
        {
            Vector2 loc = this.loc + draw_vector();

            sprite_batch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, null, null, Scissor_State);
            Atk.draw(sprite_batch, draw_offset - loc);
            Hit.draw(sprite_batch, draw_offset - loc);
            Avoid.draw(sprite_batch, draw_offset - loc);
            Crit.draw(sprite_batch, draw_offset - loc);
            Dod.draw(sprite_batch, draw_offset - loc);
            AS.draw(sprite_batch, draw_offset - loc);
            Rng.draw(sprite_batch, draw_offset - loc);
            sprite_batch.End();
        }