EntityBuilder

open class EntityBuilder

Отвечает за построение сущностей на карте

Constructors

Link copied to clipboard
@Inject
constructor(logger: ApplicationLogger, assetManager: AssetManager, strengthUpdater: StrengthUpdater, contentGenerator: ContentGenerator, localeBundle: LocaleBundle, bulletPool: BulletPool, world: World)

Functions

Link copied to clipboard
open fun bullet(author: Entity, weaponModel: WeaponModel): Entity
open fun bullet(author: Entity, target: Entity, weaponModel: WeaponModel): Entity
Link copied to clipboard
open fun createGroupStalker(position: Vector2, stalkerGroup: StalkerGroup): Entity
Link copied to clipboard
open fun createLeader(pos: Vector2, stalkerGroup: StalkerGroup): Entity
Link copied to clipboard
open fun getPointNear(basePosition: Vector2, precision: Float): Vector2
Link copied to clipboard
open fun player(position: Vector2, dataRepository: DataRepository): Entity
Link copied to clipboard
open fun randomMutant(targeting: TargetMovingComponent.Targeting): Entity