You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All objects should take as arguments to their respective constructors four parameters:
i - the i-th column in grid (position). j - the j-th row in grid (position). o - the orientation (e.g. north, south, west, east). tp - the type of this object (e.g. "bucket", "dead", etc.) args - a table containing type specific arguments.
Reader should pass all these arguments the same way for all objects. Maybe rename all tps the same name as their respective classes, avoiding manually inputting new objects in reader.
The text was updated successfully, but these errors were encountered:
All objects should take as arguments to their respective constructors four parameters:
i
- thei
-th column in grid (position).j
- thej
-th row in grid (position).o
- the orientation (e.g. north, south, west, east).tp
- the type of this object (e.g. "bucket", "dead", etc.)args
- a table containing type specific arguments.Reader should pass all these arguments the same way for all objects. Maybe rename all
tp
s the same name as their respective classes, avoiding manually inputting new objects in reader.The text was updated successfully, but these errors were encountered: