vRp.CD2g_test/utils/aoi
kercylan98 1afae90f69 docs: 优化 aoi、arrangement、buffer、combination、compress 包文档 2023-12-23 12:17:08 +08:00
..
2d.go refactor: 将 moving、aoi、leaderboard 包从 game 包中移动至 utils 包 2023-12-22 11:08:54 +08:00
2d_entity.go refactor: 将 moving、aoi、leaderboard 包从 game 包中移动至 utils 包 2023-12-22 11:08:54 +08:00
2d_events.go refactor: 将 moving、aoi、leaderboard 包从 game 包中移动至 utils 包 2023-12-22 11:08:54 +08:00
2d_test.go refactor: 将 moving、aoi、leaderboard 包从 game 包中移动至 utils 包 2023-12-22 11:08:54 +08:00
README.md docs: 优化 aoi、arrangement、buffer、combination、compress 包文档 2023-12-23 12:17:08 +08:00
doc.go docs: 优化 aoi、arrangement、buffer、combination、compress 包文档 2023-12-23 12:17:08 +08:00

README.md

AOI (Area of Interest)

Go doc

AOI (Area of Interest) 是一种常见的游戏服务器技术,用于处理大量玩家在同一空间内的交互问题。在 Minotaur 中,我们提供了一个基于 Go 语言的 AOI 实现。

TwoDimensional 二维AOI

TwoDimensional 是一个二维 AOI 的实现。它提供了添加实体、删除实体、刷新实体、获取焦点实体等方法。每个实体需要实现 TwoDimensionalEntity 接口,该接口包含了获取实体 ID、获取实体坐标、获取实体视野半径等方法。