Show
Ignore:
Timestamp:
10/05/08 16:27:31 (3 months ago)
Author:
mokehehe
Message:

エフェクトオブジェクト(コイン取得、スコア加算、ブロック破壊)追加

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/haskell/nario/Actor/AnimBlock.hs

    r20670 r20775  
    1414import Event 
    1515 
    16 -- ============================================================================ 
    17 -- AnimBlock 
    18 --      ブロックを叩いたときのバウンド演出 
    1916 
    2017data AnimBlock = AnimBlock { 
     
    4037 
    4138        render self imgres scrx sur = do 
    42                 blitSurface (getImageSurface imgres $ chr2img $ chr self) Nothing sur (pt ((x self) `div` one - scrx) ((y self) `div` one - 8)) 
     39                blitSurface (getImageSurface imgres $ chr2img $ chr self) Nothing sur (pt (x self `div` one - scrx) (y self `div` one - 8)) 
    4340                return () 
    4441