C# 클래스 BattleNet.Container

파일 보기 프로젝트 열기: dkuwahara/AlphaBot 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_fields List
m_items List

보호된 프로퍼티들

프로퍼티 타입 설명
m_name String
m_width System.Int32

공개 메소드들

메소드 설명
Add ( Item item ) : void
Container ( String name, Int32 width, Int32 height ) : System
FindFreeSpace ( Item item ) : System.Boolean
FindFreeSpace ( Item item, Coordinate &output ) : System.Boolean
NumberFields ( ) : UInt32
Remove ( Item item ) : void

보호된 메소드들

메소드 설명
RectangleIsFree ( int rectangleX, int rectangleY, int rectangleWidth, int rectangleHeight ) : System.Boolean
SetItemFields ( Item item, bool value ) : void

메소드 상세

Add() 공개 메소드

public Add ( Item item ) : void
item Item
리턴 void

Container() 공개 메소드

public Container ( String name, Int32 width, Int32 height ) : System
name String
width System.Int32
height System.Int32
리턴 System

FindFreeSpace() 공개 메소드

public FindFreeSpace ( Item item ) : System.Boolean
item Item
리턴 System.Boolean

FindFreeSpace() 공개 메소드

public FindFreeSpace ( Item item, Coordinate &output ) : System.Boolean
item Item
output Coordinate
리턴 System.Boolean

NumberFields() 공개 메소드

public NumberFields ( ) : UInt32
리턴 System.UInt32

RectangleIsFree() 보호된 메소드

protected RectangleIsFree ( int rectangleX, int rectangleY, int rectangleWidth, int rectangleHeight ) : System.Boolean
rectangleX int
rectangleY int
rectangleWidth int
rectangleHeight int
리턴 System.Boolean

Remove() 공개 메소드

public Remove ( Item item ) : void
item Item
리턴 void

SetItemFields() 보호된 메소드

protected SetItemFields ( Item item, bool value ) : void
item Item
value bool
리턴 void

프로퍼티 상세

m_fields 공개적으로 프로퍼티

public List m_fields
리턴 List

m_items 공개적으로 프로퍼티

public List m_items
리턴 List

m_name 보호되어 있는 프로퍼티

protected String m_name
리턴 String

m_width 보호되어 있는 프로퍼티

protected Int32,System m_width
리턴 System.Int32