Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Attrib = [GameObjType_Count]struct { SpeedLimit float64 Radius float64 MaxInTeam int AddOctree bool LifeTick int64 }{ Ball: {300, 10, 1, true, int64(time.Second) * gameconst.LongLife}, Shield: {400, 5, 32, true, int64(time.Second) * gameconst.LongLife}, HommingShield: {400, 7, 16, true, int64(time.Second) * 60}, Bullet: {300, 5, 100, true, int64(time.Second) * 10}, HommingBullet: {300, 7, 10, true, int64(time.Second) * 60}, SuperBullet: {600, 15, 10, true, int64(time.Second) * 10}, BurstBullet: {300, 5, 100, true, int64(time.Second) * 10}, HomeMark: {100, 3, 1, false, int64(time.Second) * gameconst.LongLife}, Deco: {600, 3, 100, false, int64(time.Second) * gameconst.LongLife}, Hard: {0, 3, 1, false, int64(time.Second) * gameconst.LongLife}, Food: {0, 3, 1, true, int64(time.Second) * gameconst.LongLife}, }
Functions ¶
func CollisionTo ¶
func InteractTo ¶
func InteractTo(srcType, dstType GameObjType) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.