battle design
2016-06-17 14:58:34 0 举报
Battle Design是一家专注于游戏开发和设计的创新公司。他们的团队由一群富有创造力和热情的专业人士组成,他们对游戏设计和开发的热爱驱使他们创造出令人惊叹的游戏体验。他们的目标是创造出能够吸引各年龄段玩家的游戏,同时也注重游戏的平衡性和公平性。在Battle Design,他们相信每个游戏都应该是一个独特的体验,每个玩家都应该在游戏中找到自己的乐趣。他们的设计理念是创新、独特和引人入胜,他们致力于为玩家提供最好的游戏体验。
作者其他创作
大纲/内容
IBattleMoverShip
PVPBattle
attributeA attributeB
Init()Close()
IBattleMover
MoverId() MoverIdTypeType() BattleMoverTypeModeId() uint32Name() stringFatherId() MoverIdTypeLiveTime() uint16DirectionX() float32DirectionY() float32VelocityX() float32VelocityY() float32CoodinateX() CoordinateTypeCoodinateY() CoordinateTypeCoodinateFX() CoordinateTypeFloatCoodinateFY() CoordinateTypeFloatLastCoodinateFX() CoordinateTypeFloatLastCoodinateFY() CoordinateTypeFloatBornTime() int64 Team() uint8
IAlive
Hp() uint32SetHp(uint32)MaxHp() uint32SetMaxHp(uint32)Shield() uint32SetShield(uint32)MaxShield() uint32SetMaxShield(uint32)IsAlive() boolSetAlive(alive bool)DeadTime() int64Dead()GetDropsItems() map[uint32]uint32
BaseBattle
clients : map[uint32]BattleClientships : map[uint32]BattleShipviewTree : map[uint32]IBattleMoverradarTree : map[uint32]radarMoverhandler : map[uint16] func(cmd *BattleCmd)
- methodA()- methodB()
IItem
IBattleMoverItemId() uint32ItemNum() uint32IsAlive() bool SetAlive(bool) Drag() uint32 DragRocks() *dragRockSetDragRocks(dragRock *dragRock)
PVEBattle
BattleCmd
id : uint16 body : interface{} session : *Session battle : *BaseBattle
Call() error
IBattleMoverRock
\tWeight() uint32\tBonus() uint32 \tResource() uint32\tAmountMin() uint32 \tAmountMax()
Executor
bus : chan context.ICallable ticker : *time.Ticker
Execute(context.ICallable) Shutdown() Serve()
BattleIntf
Init() Start() AddCmd( BattleCmd ) Close()
BattleSession
id : uint64 account : stringbid : *Sessioncid : uint32*context.Endpoint
ISkillInMap
MoverId() MoverIdTypeSenderId() MoverIdTypeSkillId() SkillIdType LiveTime() uint16 SetLiveTime(uint16)BornTime() int64 SetBornTime(int64)SkillRange() uint16 SetSkillRange(uint16)SkillCX() CoordinateTypeFloat SkillCY() CoordinateTypeFloat SkillNowX() CoordinateTypeFloat SkillNowY() CoordinateTypeFloat SetSkillNowX(CoordinateTypeFloat)SetSkillNowY(CoordinateTypeFloat) VelocityX() float32 VelocityY() float32 LastTickCalTime() int64 SetLastTickCalTime(int64)State() uint8SetState(uint8) TriggerId() MoverIdType SetTriggerId(MoverIdType)
0 条评论
下一页