Documentation ¶
Index ¶
Constants ¶
View Source
const ( MapSize = 15 MapTileSize = 16 )
View Source
const ( OrientationTop = 0 OrientationRight = 1 OrientationBottom = 2 OrientationLeft = 3 )
View Source
const (
ScaleSprites = 3
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectType ¶
type ObjectType uint8
ObjectType тип объекта
const ( ObjectTypeEmpty ObjectType = iota ObjectTypeBrickWall ObjectTypeIronWall ObjectTypeWater ObjectTypeForest ObjectTypeIce ObjectTypeHeadquarters ObjectTypePlayerSpawn ObjectTypeAISpawn ObjectTypeBonus ObjectTypeBrickWallDamagedLeft ObjectTypeBrickWallDamagedTop ObjectTypeBrickWallDamagedRight ObjectTypeBrickWallDamagedDown ObjectTypeIronWallDamagedLeft ObjectTypeIronWallDamagedTop ObjectTypeIronWallDamagedRight ObjectTypeIronWallDamagedDown ObjectTypePlayerTank1 ObjectTypePlayerTank2 ObjectTypePlayerTank3 ObjectTypePlayerTank4 ObjectTypeEnemyTank1 ObjectTypeEnemyTank2 ObjectTypeEnemyTank3 ObjectTypeEnemyTank4 ObjectTypeProjectile ObjectTypeExplosion ObjectTypeHiddenWall )
Click to show internal directories.
Click to hide internal directories.