C# Class Manic_Shooter.Classes.MobDefinition

Exibir arquivo Open project: TheGameDevelopmentClub/Manic-Shooter Class Usage Examples

Public Properties

Property Type Description
Health int
SpawnPosition Vector2
Type String

Public Methods

Method Description
MobDefinition ( String enemyType, Vector2 spawnPosition, int health ) : System
MobDefinition ( String enemyType, Vector2 spawnPosition, int health, Vector2 entryPosition ) : System
Spawn ( ) : IEnemy

Method Details

MobDefinition() public method

public MobDefinition ( String enemyType, Vector2 spawnPosition, int health ) : System
enemyType String
spawnPosition Vector2
health int
return System

MobDefinition() public method

public MobDefinition ( String enemyType, Vector2 spawnPosition, int health, Vector2 entryPosition ) : System
enemyType String
spawnPosition Vector2
health int
entryPosition Vector2
return System

Spawn() public method

public Spawn ( ) : IEnemy
return IEnemy

Property Details

Health public_oe property

public int Health
return int

SpawnPosition public_oe property

public Vector2 SpawnPosition
return Vector2

Type public_oe property

public String Type
return String