module Drasil.GamePhysics.Concepts where

import Language.Drasil
import Data.Drasil.Concepts.Documentation
import Data.Drasil.Concepts.Math

----- Acronyms -----

centreMass, twoD :: CINP

cpAcronyms :: [CINP]
cpAcronyms = [assumption, centreMass, dataDefn, genDefn, goalStmt,
    inModel, likelyChg, ode, requirement, srs, thModel, twoD]

cent_mass :: NP --FIXME: Need to be able to cap plural.
cent_mass = nounPhrase' "Centre of Mass" "Centres of Mass" (Replace "Centre of Mass")

centreMass    = commonINP "centreMass" cent_mass "CM"
twoD          = commonINP "twoD" (pn "Two-Dimensional") "2D"

chipmunk :: NamedChunk
chipmunk    = nc' "chipmunk" "Chipmunk2D game physics library" "Chipmunk2D" 

module Drasil.GamePhysics.Concepts where

import Language.Drasil
import Data.Drasil.Concepts.Documentation
import Data.Drasil.Concepts.Math

----- Acronyms -----

centreMass, twoD :: CINP

cpAcronyms :: [CINP]
cpAcronyms = [assumption, centreMass, dataDefn, genDefn, goalStmt,
    inModel, likelyChg, ode, requirement, srs, thModel, twoD]

--FIXME: Should use of' combinator.
cent_mass :: NP --FIXME: Need to be able to cap plural.
cent_mass = nounPhrase' "Centre of Mass" "Centres of Mass" 
  (Replace (S "Centre of Mass"))

centreMass    = commonINP "centreMass" cent_mass "CM"
twoD          = commonINP "twoD" (pn "Two-Dimensional") "2D"

chipmunk :: NamedChunk
chipmunk    = nc' "chipmunk" "Chipmunk2D game physics library" "Chipmunk2D" 

Update cent_Mass with updated smart constructor. Now all examples compile again, but are not yet stable.
Update cent_Mass with updated smart constructor. Now all examples compile again, but are not yet stable.
