C# Класс MyGame.BulletUnit

This class represent bullet unit which represent the logic of the bullet that is it move with constant speed in a certain direction
Наследование: Unit
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
BulletUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale, Vector3 Direction ) : System
update ( GameTime gameTime ) : void

Allows the unit to update itself.

Описание методов

BulletUnit() публичный Метод

public BulletUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale, Vector3 Direction ) : System
game MyGame
Position Vector3
Rotation Vector3
Scale Vector3
Direction Vector3
Результат System

update() публичный Метод

Allows the unit to update itself.
public update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Результат void