Make creature update an external function
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
{-# LANGUAGE StrictData #-}
|
||||
module Dodge.Data.TeslaArc where
|
||||
import Geometry.Data
|
||||
import Color
|
||||
import Control.Lens
|
||||
data TeslaArc = TeslaArc
|
||||
{ _taPoints :: [Point2]
|
||||
, _taTimer :: Int
|
||||
, _taColor :: Color
|
||||
}
|
||||
makeLenses ''TeslaArc
|
||||
Reference in New Issue
Block a user