C# Class PlantProjectileObject, GardensGrow

Inheritance: MonoBehaviour
Datei anzeigen Open project: GameDevStudioUCSD/GardensGrow

Public Properties

Property Type Description
damage int
dir Globals.Direction
evil bool
shotRange int
shotSpeed float

Public Methods

Method Description
Mover ( float shotSpeed, Globals.Direction dir ) : void
OnTriggerEnter2D ( Collider2D, other ) : void
Start ( ) : void
Update ( ) : void

Method Details

Mover() public method

public Mover ( float shotSpeed, Globals.Direction dir ) : void
shotSpeed float
dir Globals.Direction
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D, other ) : void
other Collider2D,
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

damage public_oe property

public int damage
return int

dir public_oe property

public Globals.Direction dir
return Globals.Direction

evil public_oe property

public bool evil
return bool

shotRange public_oe property

public int shotRange
return int

shotSpeed public_oe property

public float shotSpeed
return float