Пример #1
0
 public static void Push(Reference reference)
 {
     CelStack.Push(new CelesteObject(reference));
 }
Пример #2
0
 /// <summary>
 /// Pushes an already created Celeste object onto the stack
 /// </summary>
 /// <param name="celObject"></param>
 public static void Push(CelesteObject celObject)
 {
     CelStack.Push(celObject);
 }
Пример #3
0
 /// <summary>
 /// Pushes a generic object onto our stack.
 /// Should not be used for lists/arrays etc.
 /// Use this if you do not care about referencing (e.g. with adding two hardcoded values
 /// </summary>
 /// <param name="celObject"></param>
 public static void Push(object value)
 {
     CelStack.Push(new CelesteObject(value));
 }