<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>asahiufo</author_name>
  <author_url>https://blog.hatena.ne.jp/asahiufo/</author_url>
  <blog_title>書き物</blog_title>
  <blog_url>https://asahiufo.hatenadiary.org/</blog_url>
  <categories>
    <anon>AS3</anon>
    <anon>ゲームプログラミング</anon>
  </categories>
  <description>タスクシステムは、タスクという処理の塊をリストに登録し、メインループ（onEnterFrameとか）でリストに登録されたタスクの処理関数を一通りすべて実行するシステムです。 例えばそのリストへの登録を以下のようにするとします。 addTask(new Player()); このようにして初めてPlayerが動作を始めます。 しかしこのPlayerクラスの処理開始と同時に画面への描画（プレイヤーのグラフィックを描くとか）を行いたい場合、初期処理としてコンストラクタに描画処理を描くと、上の例では問題ありませんが、場合によって問題が起こることがあります。 とりあえず事前にPlayerをnewしておい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fasahiufo.hatenadiary.org%2Fentry%2F20070218%2F1171809513&quot; title=&quot;描画と処理開始のギャップを無くす、そんな設計 - 書き物&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-02-18 23:38:33</published>
  <title>描画と処理開始のギャップを無くす、そんな設計</title>
  <type>rich</type>
  <url>https://asahiufo.hatenadiary.org/entry/20070218/1171809513</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
