Safe Haskell | None |
---|
This module contains the FunGEn objects procedures
Documentation
data GameObject t Source
getGameObjectId :: GameObject t -> IntegerSource
getGameObjectName :: GameObject t -> StringSource
getGameObjectAsleep :: GameObject t -> BoolSource
getGameObjectPosition :: GameObject t -> (GLdouble, GLdouble)Source
getGameObjectSize :: GameObject t -> (GLdouble, GLdouble)Source
getGameObjectSpeed :: GameObject t -> (GLdouble, GLdouble)Source
getGameObjectAttribute :: GameObject t -> tSource
getObjectManagerObjects :: ObjectManager t -> [GameObject t]Source
object :: String -> ObjectPicture -> Bool -> (GLdouble, GLdouble) -> (GLdouble, GLdouble) -> t -> GameObject tSource
drawGameObjects :: [ObjectManager t] -> QuadricPrimitive -> [TextureObject] -> IO ()Source
drawGameObject :: GameObject t -> QuadricPrimitive -> [TextureObject] -> IO ()Source
objectGroup :: String -> [GameObject t] -> ObjectManager tSource
data ObjectManager t Source
findObjectFromId :: GameObject t -> [ObjectManager t] -> GameObject tSource
searchObjectManager :: String -> [ObjectManager t] -> ObjectManager tSource
searchGameObject :: String -> ObjectManager t -> GameObject tSource
updateObject :: (GameObject t -> GameObject t) -> Integer -> String -> [ObjectManager t] -> [ObjectManager t]Source
updateObjectAsleep :: Bool -> GameObject t -> GameObject tSource
updateObjectSize :: (GLdouble, GLdouble) -> GameObject t -> GameObject tSource
updateObjectPosition :: (GLdouble, GLdouble) -> GameObject t -> GameObject tSource
updateObjectSpeed :: (GLdouble, GLdouble) -> GameObject t -> GameObject tSource
updateObjectAttribute :: t -> GameObject t -> GameObject tSource
updateObjectPicture :: Int -> Int -> GameObject t -> GameObject tSource
addObjectsToManager :: [GameObject t] -> String -> [ObjectManager t] -> [ObjectManager t]Source
moveGameObjects :: [ObjectManager t] -> [ObjectManager t]Source
destroyGameObject :: String -> String -> [ObjectManager t] -> [ObjectManager t]Source