![]() |
Jypeli 10
The simple game programming library
|
A collection that stores ints that represent groups Lisää...
Julkiset jäsenfunktiot | |
| GroupCollection () | |
| GroupCollection (GroupCollection copy) | |
| bool | Add (int item) |
| Trys to add a group. Lisää... | |
| int | AddRange (int[] array) |
| adds an array of group ids. Lisää... | |
| void | Clear () |
| removes the ignorer from all groups. Lisää... | |
| bool | Contains (int item) |
| returns true if the ignorer is part of the group. Lisää... | |
| int | ContainsRange (int[] array) |
| returns the number of groups in the array it is part of. Lisää... | |
| void | CopyTo (int[] array, int arrayIndex) |
| IEnumerator< int > | GetEnumerator () |
| bool | Remove (int item) |
| Trys to remove the ignorer from a group. Lisää... | |
| int | RemoveRange (int[] array) |
| Trys to remove the ignorer from a range of groups. Lisää... | |
Staattiset julkiset jäsenfunktiot | |
| static bool | Intersect (GroupCollection groups1, GroupCollection groups2) |
Ominaisuudet | |
| int | Count [get] |
| Gets the number of collison Groups the ignorer is part of. Lisää... | |
| bool ICollection< int >. | IsReadOnly [get] |
Yksityiset jäsenfunktiot | |
| void ICollection< int >. | Add (int item) |
| System.Collections.IEnumerator System.Collections.IEnumerable. | GetEnumerator () |
Yksityiset attribuutit | |
| List< int > | groups = new List<int>() |
A collection that stores ints that represent groups
Määrittely tiedoston GroupCollection.cs rivillä 39.
| Jypeli.GroupCollection.GroupCollection | ( | ) |
Määrittely tiedoston GroupCollection.cs rivillä 67.
Viittaukset Jypeli.GroupCollection.groups.
| Jypeli.GroupCollection.GroupCollection | ( | GroupCollection | copy | ) |
Määrittely tiedoston GroupCollection.cs rivillä 71.
Viittaukset Jypeli.GroupCollection.groups.
| bool Jypeli.GroupCollection.Add | ( | int | item | ) |
Trys to add a group.
| item | The group ID to add. |
Määrittely tiedoston GroupCollection.cs rivillä 93.
Viittaukset Jypeli.GroupCollection.groups.
|
private |
Määrittely tiedoston GroupCollection.cs rivillä 249.
Viittaukset Jypeli.Add.
| int Jypeli.GroupCollection.AddRange | ( | int[] | array | ) |
adds an array of group ids.
| array | The array of group IDs. (this will be sorted) |
Määrittely tiedoston GroupCollection.cs rivillä 115.
Viittaukset Jypeli.GroupCollection.groups.
| void Jypeli.GroupCollection.Clear | ( | ) |
removes the ignorer from all groups.
Määrittely tiedoston GroupCollection.cs rivillä 256.
| bool Jypeli.GroupCollection.Contains | ( | int | item | ) |
returns true if the ignorer is part of the group.
| item | The group ID. |
Määrittely tiedoston GroupCollection.cs rivillä 170.
Viittaukset Jypeli.GroupCollection.groups.
| int Jypeli.GroupCollection.ContainsRange | ( | int[] | array | ) |
returns the number of groups in the array it is part of.
| array | The array of group IDs. (this will be sorted) |
Määrittely tiedoston GroupCollection.cs rivillä 179.
Viittaukset Jypeli.GroupCollection.groups.
| void Jypeli.GroupCollection.CopyTo | ( | int[] | array, |
| int | arrayIndex | ||
| ) |
Määrittely tiedoston GroupCollection.cs rivillä 260.
| IEnumerator< int > Jypeli.GroupCollection.GetEnumerator | ( | ) |
Määrittely tiedoston GroupCollection.cs rivillä 264.
|
private |
Määrittely tiedoston GroupCollection.cs rivillä 268.
|
static |
Määrittely tiedoston GroupCollection.cs rivillä 41.
Viittaukset Jypeli.GroupCollection.groups.
Viitattu Jypeli.AdvGroupIgnorer.CanCollideInternal() ja Jypeli.GroupIgnorer.CanCollideInternal().
| bool Jypeli.GroupCollection.Remove | ( | int | item | ) |
Trys to remove the ignorer from a group.
| item | The group ID. |
Määrittely tiedoston GroupCollection.cs rivillä 210.
Viittaukset Jypeli.GroupCollection.groups.
| int Jypeli.GroupCollection.RemoveRange | ( | int[] | array | ) |
Trys to remove the ignorer from a range of groups.
| array | The array of group IDs. (this will be sorted) |
Määrittely tiedoston GroupCollection.cs rivillä 222.
Viittaukset Jypeli.GroupCollection.groups.
|
private |
Määrittely tiedoston GroupCollection.cs rivillä 65.
Viitattu Jypeli.GroupCollection.GroupCollection(), Jypeli.GroupCollection.Add(), Jypeli.GroupCollection.AddRange(), Jypeli.GroupCollection.Contains(), Jypeli.GroupCollection.ContainsRange(), Jypeli.GroupCollection.Intersect(), Jypeli.GroupCollection.Remove() ja Jypeli.GroupCollection.RemoveRange().
|
get |
Gets the number of collison Groups the ignorer is part of.
Määrittely tiedoston GroupCollection.cs rivillä 79.
|
getprivate |
Määrittely tiedoston GroupCollection.cs rivillä 83.