C# 클래스 SafeAndFree.Helpers.TowerFactory

파일 보기 프로젝트 열기: mokasocial/PrivacyDefense

공개 메소드들

메소드 설명
GetProjectileMediaID ( ProjectileTypes type ) : MEDIA_ID
GetStatsForTowerType ( TowerTypes type, TowerStats &towerStats, WeaponStats &weaponStats ) : void
GetTower ( TowerTypes type, Vector2 position ) : Tower
GetTowerCost ( TowerTypes type ) : int
GetTowerMediaID ( TowerTypes type ) : MEDIA_ID

Should eventually return an array, for different levels

GetTowerProjectile ( Tower tower, Creep target ) : Projectile

메소드 상세

GetProjectileMediaID() 공개 정적인 메소드

public static GetProjectileMediaID ( ProjectileTypes type ) : MEDIA_ID
type ProjectileTypes
리턴 MEDIA_ID

GetStatsForTowerType() 공개 정적인 메소드

public static GetStatsForTowerType ( TowerTypes type, TowerStats &towerStats, WeaponStats &weaponStats ) : void
type TowerTypes
towerStats SafeAndFree.Data.TowerStats
weaponStats SafeAndFree.Data.WeaponStats
리턴 void

GetTower() 공개 정적인 메소드

public static GetTower ( TowerTypes type, Vector2 position ) : Tower
type TowerTypes
position Vector2
리턴 Tower

GetTowerCost() 공개 정적인 메소드

public static GetTowerCost ( TowerTypes type ) : int
type TowerTypes
리턴 int

GetTowerMediaID() 공개 정적인 메소드

Should eventually return an array, for different levels
public static GetTowerMediaID ( TowerTypes type ) : MEDIA_ID
type TowerTypes
리턴 MEDIA_ID

GetTowerProjectile() 공개 정적인 메소드

public static GetTowerProjectile ( Tower tower, Creep target ) : Projectile
tower Tower
target Creep
리턴 Projectile