Documentation
¶
Index ¶
Constants ¶
View Source
const ( PaletteWidth = 10 TileSize = 16 MiniTileSize = 8 TileXNum = 10 TileYNum = 22 GuaranteedVisibleTileYNum = 14 MapWidth = TileXNum * TileSize MapHeight = TileYNum * TileSize GuaranteedVisibleMapHeight = GuaranteedVisibleTileYNum * TileSize MapScaledWidth = MapWidth * TileScale MapScaledHeight = MapHeight * TileScale TileScale = 3 TextScale = 2 BigTextScale = 3 MaxFullscreenImageSize = 304 HeaderHeight = 16 * TileScale )
Variables ¶
This section is empty.
Functions ¶
func HasExtraBottomGrid ¶
HasExtraBottomGrid reports whether the screen has an extra bottom grid due to the screen is too large or not.
HasExtraBottomGrid return true on devices like iPhone X.
Types ¶
type InterpreterID ¶
type InterpreterID int
InterpreterID represents a unique identifier of interpreters
type SponsorTierType ¶
type SponsorTierType string
const ( SponsorTierType_1_Donation SponsorTierType = "tier1_donation" SponsorTierType_2_Donation SponsorTierType = "tier2_donation" SponsorTierType_3_Donation SponsorTierType = "tier3_donation" SponsorTierType_4_Donation SponsorTierType = "tier4_donation" )
func (SponsorTierType) Color ¶
func (t SponsorTierType) Color() color.Color
func (SponsorTierType) IsValid ¶
func (t SponsorTierType) IsValid() bool
func (SponsorTierType) Level ¶
func (t SponsorTierType) Level() int
Click to show internal directories.
Click to hide internal directories.