packages feed

gore-and-ash-demo-1.0.0.0: src/shared/Game/Player/Shared.hs

module Game.Player.Shared(
    PlayerNetMessage(..)
  ) where

import Control.DeepSeq
import Data.Serialize 
import GHC.Generics (Generic)
import Linear 

data PlayerNetMessage = 
    NetMsgPlayerFire !(V2 Double)
  deriving (Generic, Show)

instance NFData PlayerNetMessage
instance Serialize PlayerNetMessage