Show
Ignore:
Timestamp:
10/07/08 20:42:00 (3 months ago)
Author:
mokehehe
Message:

ソース整理

Files:
1 modified

Legend:

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

    r20811 r20925  
    66) where 
    77 
    8 import Multimedia.SDL (blitSurface, pt) 
     8--import Multimedia.SDL (itSurface, pt) 
    99 
    1010import Actor (Actor(..)) 
    1111import Const 
    1212import Util (sgn) 
    13 import AppUtil (getImageSurface, cellCrd, Rect(..)) 
     13import AppUtil (cellCrd, Rect(..), putimg) 
    1414import Images 
    15 import Field 
    1615import Player (PlayerType(..), getPlayerType, setPlayerType, addScore) 
    1716import Event (Event(..)) 
     
    2928 
    3029        render self imgres scrx sur = do 
    31                 blitSurface (getImageSurface imgres ImgFlower) Nothing sur (pt ((x self) `div` one - chrSize `div` 2 - scrx) ((y self) `div` one - 15 - 8)) 
     30                putimg sur imgres ImgFlower ((x self) `div` one - chrSize `div` 2 - scrx) ((y self) `div` one - 15 - 8) 
    3231                return () 
    3332