Nlgp1.Sprite.Sprite.UnloadおよびUpdateを作成
@@ -21,18 +21,18 @@ | ||
21 | 21 | /// <param name="World">Worldオブジェクト</param> |
22 | 22 | /// <param name="location">現在の座標</param> |
23 | 23 | public Sprite( ChipId chipId , World world , Vec2 location ) { |
24 | + this.ChipId = chipId; | |
25 | + this.World = world; | |
26 | + this.Location = location; | |
27 | + this.DebugId = chipId.ToString(); | |
24 | 28 | #region コレクション |
25 | 29 | lock( spriteList ) |
26 | 30 | spriteList.Add( this ); |
27 | 31 | #endregion |
28 | - this.ChipId = chipId; | |
29 | - this.World = world; | |
30 | - this.Location = location; | |
31 | - this.DebugId = chipId.ToString(); | |
32 | 32 | } |
33 | 33 | |
34 | 34 | /// <summary> |
35 | - /// ゲームから削除される際に呼ばれます | |
35 | + /// ステージから削除される際に呼ばれます | |
36 | 36 | /// </summary> |
37 | 37 | public void Unload() { |
38 | 38 | } |